1 | initial version |
The task is quite complex and usually you can't do this.
As current congestion window value is never transferred in packets, all you can do is to spot Bytes in Flight value (apply a filter to see only packets from sender you're interested in).
But in order to make any sense from Bytes in Flight value certain conditions are to be met:
Capture must be taken on the sender side
cwnd must be the limiting factor (not sending application)
So taking into consideration all these limitations, more optimal way is to spot cwnd by issuing commands on a sender OS.