Raw Tcp Client - Equinox Systems ESP-2 MI Installation And User Manual

Serial hub
Hide thumbs Also See for ESP-2 MI:
Table of Contents

Advertisement

Table 8: Raw TCP Server Connection Method Configurable Items (Continued)
Item
Description
Specifies the length of time before the TCP session is disconnected if there is
no activity. Valid values are 0-65535 seconds.
Inactivity time-
For example, a value of 60 indicates the TCP session will be disconnected if
out
there is no activity for a period of 60 seconds.
A 0 value disables the inactivity time-out. The default value is 0 (disabled).
(Valid only on RS-232 ports.) Enables or disables monitoring of the DCD
signal. When enabled, the TCP server will refuse the TCP connection if the
inbound DCD signal is logically low at the time the connection is initiated. If the
Monitor DCD
inbound DCD signal changes from logically high to low while a TCP session is
active, the TCP connection will be closed.
The default value is disabled.
Specifies the length of time accumulated serial data should be buffered before
being sent to the remote server. Valid values are 0-65535 hundredths of a second.
For example, a value of 100 indicates that once serial data is received, the
ESP-2 hub will buffer the data until 1 second (100 hundredths of a second) has
Serial
buffering
elapsed, at which time all data will be sent.
A 0 value indicates that data will be sent as soon as it is available. The default
value is 0 (send immediately). If the buffer becomes half full, the time is ignored
and the data is sent.
When enabled, the most recent 20K bytes of data are held in an internal buffer.
Idle TCP
After the connection is established, the buffered serial data is sent to the remote
buffering
endpoint of the TCP connection. When this option and this connection method
are enabled, you may not enable any other connection method for the port.

3.4 Raw TCP Client

The raw TCP client connection method allows the ESP-2 hub to make a TCP-based
connection to a remote server and then transmit/receive data using standard TCP. The
ESP-2 hub initiates the TCP session.
When this method is enabled, the raw TCP client will attempt to establish a
connection with the configured server when the connection mode requirement has
been satisfied. The TCP session will remain established until the client closes the
TCP socket, the TCP connection is broken, the inactivity time-out (if enabled) occurs
or if the connection mode is Connect on DCD and the DCD signal is lowered.
Table 9 describes this method's configurable items for each serial port.
Table 9: Raw TCP Client Connection Method Configurable Items
Item
Description
Enables or disables the raw TCP client connection method on the port. The
Enable/
default value is disabled. This method cannot be enabled if any other serial
disable
port connection method is already enabled on the port.
Equinox ESP-2 MI Serial Hub Installation and User Guide
13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents