How can the SO_RCVBUF be smaller than the TCP receive window? (Windows XP)

Posted by Tim on Stack Overflow See other posts from Stack Overflow or by Tim
Published on 2010-04-16T17:43:43Z Indexed on 2010/04/16 18:33 UTC
Read the original article Hit count: 121

Filed under:
|
|
|

I have an application using TCP on Windows XP. When I call getsockopt with the SO_RCVBUF option, it reports 8192 bytes. However, Wireshark shows the app advertising a receive buffer of 64K. How is this possible? To have a 64K receive window, doesn't it need a 64K buffer? Are there two different buffers?

© Stack Overflow or respective owner

Related posts about tcp

Related posts about windows-xp