setsockopt(fd, SOL_SOCKET, SO_SNDBUF.....) still takes no effect after connect() ?
Hi,guys
Now I learned that on Solaris, we can set TCP_NODELAY,SO_RCVBUF, SO_SNDBUF by setsockopt() any time before or after calling connect() or listen() , if the buffer size we need is greater than default(or last) size,the setsockopt() will take affect .
But on LINUX, man 7 tcp tell us: On individual connections, the socket buffer size must be set prior to the listen(2) or connect(2) calls in order to have it take effect.
Does current newly LINUX kernel keeps this limitation as the manual said ?
|