TCP::snd_wnd

Description

Returns the remote host’s advertised receive window. If smaller than the congestion window (cwnd) and send buffer size, this limits the amount of outstanding data on the connection.

Syntax

TCP::snd_wnd

Return Value

The advertised receive window (rwnd) in bytes.

Examples

when CLIENT_ACCEPTED {
     # Get Client's initial advertised window.
     log local0. "Client's advertised rwnd: [TCP::snd_wnd]"
 }
 when CLIENT_CLOSED {
     # Get Client's last advertised window.
     log local0. "Client's advertised rwnd: [TCP::snd_wnd]"
 }