In the socket programming, SO_SNDBUF and SO_RCVBUF will have the default value as the 8192 bytes when the size of RAM is greater than 19MB.
Now, I want to change the socket buffer sizes for my sockets SO_SNDBUF, SO_RCVBUF. I know that one way is by setsockopt. But, I want to apply changes to the system default, and be able to use the modified value of the socket buffers for all the sockets I create in the system. Please let me know where do I make the configuration change?
Now, I want to change the socket buffer sizes for my sockets SO_SNDBUF, SO_RCVBUF. I know that one way is by setsockopt. But, I want to apply changes to the system default, and be able to use the modified value of the socket buffers for all the sockets I create in the system. Please let me know where do I make the configuration change?