![background image](http://html1.mh-extra.com/html/patton-electronics/etherbits-2211/etherbits-2211_getting-started-manual_4062529049.webp)
TCP Server/Client Mode Operations
49
Models 2211 & 2232 Getting Started Guide
5 • Host Mode configuration
TCP Server/Client Mode Configuration
To configure the 2211 to work as a TCP server/client mode, use
set
command as follows:
set host tcpsc listening_port dest_ip dest_port cyclic_connection_interval inactivity_timeout
where,
listening_port = listening TCP port
dest_ip = destination IP address
dest_port = destination TCP port
cyclic_connection_interval = cyclic connection interval in minutes
inactivity_timeout = inactivity timeout in seconds.
Parameter definitions for TCP server and client mode configuration are the same with TCP server mode and
TCP client mode parameters.
The following example shows how to configure server/client mode:
> set host tcpsc 6001 192.168.1.100 7001 10 300
OK
>