Windows 7 Modify the default value of socket buffer sizes

How to modify the default value of socket buffer sizes?

  • Windows Configuration

    Votes: 0 0.0%
  • Windows Registry Entry

    Votes: 0 0.0%
  • Default Socket buffer size - origin

    Votes: 0 0.0%

  • Total voters
    0

sreepurna

New Member
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?
 
Back
Top