ltm rule command TCP recvwndΒΆ

iRule(1)					  BIG-IP TMSH Manual					     iRule(1)

TCP::recvwnd
       This command can be used to set/get the receive window size of a TCP connection.

SYNOPSIS
       TCP::recvwnd ('auto' | WINDOW_SIZE)?

DESCRIPTION
       TCP::recvwnd returns the receive window size of a TCP connection.  TCP::recvwnd WINDOW_SIZE sets the receive
       window to WINDOW_SIZE bytes.

RETURN VALUE
       TCP::recvwnd returns the number of bytes that can be stored at the receive window.

VALID DURING
       ANY_EVENT

EXAMPLES
	# Get the receive window size of the TCP flow.
	when CLIENT_ACCEPTED {
	    log local0. "TCP set receive window: [TCP::recvwnd 100000]"
	    log local0. "TCP get receive window: [TCP::recvwnd]"
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-12.1.0
	   --first introduce the command.

BIG-IP						      2020-06-23					     iRule(1)