Search code examples
socketsnetworkingtcpcongestion-control

How can I find the "congestion window size" in TCP protocol?


I know that TCP protocol has a congestion window size to control the network congestion.

However, in the TCP header, I can only find the receive window size, and can't find the congestion window size

Does anyone have ideas about how to find the congestion window size in TCP header? Or if it is doesn't exist in TCP header, where can I find this value?

enter image description here


Solution

  • The congestion window size is internal to the TCP implementation. If the particular TCP implementation you are using provides some way to query it, then you can.