CSW-H80 User Manual Ver. 3.0
- 33 -
5.2
TCP Client
In this mode, CSW-H80 sends request segments to a TCP server with information of [Peer
Address] and [Peer Port]. Once a host is listening, the connection will be established. After
then, CSW-H80 converts the raw data from the serial port to TCP/IP data and sends them
to the network and vice versa.
5.2.1 Key parameters
Peer Address
This item is an address of TCP server.
Peer Port
[Peer Port] is the port number of TCP server.
Event Byte
CSW-H80 decides when to send the connection request frame with this parameter.
Value
Description
0
right after CSW-H80 boots up
Otherwise
(512 or under)
right after the bytes set to [Event Byte] have been received from
the serial port
512 or under bytes are strongly recommended.
Table 5-5 the operation of Event Byte 1
In addition, users can handle the serial data before a TCP connection is established
with this parameter.
Value
Description
0
CSW-H80 doesn’t send the data
Otherwise
(512 or under)
CSW-H80 sends the data right after a connection is established.
512 or under bytes are strongly recommended.
Table 5-6 the operation of Event Byte 2
Timeout
If there is no transmission of data for specific time the connection would be
terminated.
TCP Server
This check option enables you to get to the TCP server / client mode. In this mode,
CSW-H80 can be operated as a TCP server or client without changing any setting.
DNS IP Address
[DNS IP Address] is needed when you use host name instead of the IP address.