I wanted to add multiple options with setsocketopt but if would it overwrite the previous option if I do something like this?
ThanksCode:setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &btr, sizeof(btr)); setsockopt(sock, SOL_SOCKET, SO_RCVBUF , &buflen, sizeof(buflen));


Reply With Quote
Bookmarks