-
January 20th, 2011, 10:35 AM
#1
setsocketopt
I wanted to add multiple options with setsocketopt but if would it overwrite the previous option if I do something like this?
Code:
setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &btr, sizeof(btr));
setsockopt(sock, SOL_SOCKET, SO_RCVBUF , &buflen, sizeof(buflen));
Thanks
-
January 21st, 2011, 08:07 AM
#2
Re: setsocketopt
NO, that's why you explicitly name the option you want to modify
-
January 22nd, 2011, 11:36 AM
#3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|