P4G_CLIENT_RANGE#

# set
<module-index>/<port-index> P4G_CLIENT_RANGE [<group_index>] <ipv4_address> <address_count> <start_port> <port_count> <max_address_count>

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

Description#

Specifies a number of client sockets (ip address, port number)

Actions#

set, get

Parameters#

ipv4_address: address, the start IP address of the address range

address_count: integer, the number of IP addresses

start_port: integer, the starting port number of the port range

port_count: integer, the number of ports

max_address_count: integer, the maximum number of IP addresses that this CG will use, when connection incarnation is set to REINCARNATE

Example#

# set
input:  0/1 P4G_CLIENT_RANGE [0] 192.168.1.100 1 1 1 1
output: <OK>

# get
input:  0/1 P4G_CLIENT_RANGE [0] ?
output: 0/1 P4G_CLIENT_RANGE [0] 192.168.1.100 1 1 1 1