Increase the TCP receive window for a specific socket
Posted
by rursw1
on Stack Overflow
See other posts from Stack Overflow
or by rursw1
Published on 2010-05-05T14:32:39Z
Indexed on
2010/05/05
14:38 UTC
Read the original article
Hit count: 294
Hi,
How to increase the TCP receive window for a specific socket? - I know how to do so for all the sockets by setting the registry key TcpWindowSize, but how do do that for a specific one?
According to MSFT's documents, the way is
Calling the Windows Sockets function setsockopt, which sets the receive window on a per-socket basis.
But in setsockopt, it is mentioned about SO_RCVBUF :
Specifies the total per-socket buffer space reserved for receives. This is unrelated to SO_MAX_MSG_SIZE and does not necessarily correspond to the size of the TCP receive window.
So is it possible? How?
Thanks.
© Stack Overflow or respective owner