P4G_TCP_WINDOW_SCALING

# set
<module-index>/<port-index> P4G_TCP_WINDOW_SCALING [<group_index>] <on_off> <factor>

# get
<module-index>/<port-index> P4G_TCP_WINDOW_SCALING [<group_index>] ?

Description

Enable window scaling for the CG. Note to use windows scaling it need to be enabled in both the client and server CG. .

Actions

set, get

Parameters

on_off: byte, specifying whether to enable window scaling or not
  • NO = 0

  • YES = 1

factor: short integer, default value is 0 and maximum value is 14 - ignored if window scaling is not enabled

Example

# set
input:  0/1 P4G_TCP_WINDOW_SCALING [0] NO 1
output: <OK>

# get
input:  0/1 P4G_TCP_WINDOW_SCALING [0] ?
output: 0/1 P4G_TCP_WINDOW_SCALING [0] NO 1