Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I think you use 'setsockopt' error #12

Open
ACK555 opened this issue Feb 13, 2020 · 2 comments
Open

I think you use 'setsockopt' error #12

ACK555 opened this issue Feb 13, 2020 · 2 comments

Comments

@ACK555
Copy link

ACK555 commented Feb 13, 2020

if( (setsockopt(sockfd, SOL_SOCKET, opts.size(), (char *)&opt, sizeof(opt))) < 0 ) {
cerr << "Errore setsockopt" << endl;
return -1;
}
-------------------->>>>>
if( (setsockopt(sockfd, SOL_SOCKET, opts.at(i), (char *)&opt, sizeof(opt))) < 0 ) {
cerr << "Errore setsockopt" << endl;
return -1;
}

@wwd2018
Copy link

wwd2018 commented Nov 2, 2021

@kashimAstro

@kashimAstro
Copy link
Owner

@ACK555 @wwd2018 hi guys sorry for long delay, in this last year i am very busy with work.
if anyone can prepare a pull request i am happy to accept or i try to fix some things in the next few days.

Ciao e grazie!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants