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

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

Advertisement

Table 9: Raw TCP Server Connection Method Configurable Items (Continued)
Item
Description
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
Once 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 this 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 or the inactivity time-out (if enabled) occurs.
Table 10 describes this method's configurable items for each serial port.
Table 10: 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.
Specifies the IP address of the remote server. This is a required item; there is
Destination IP
no default value. Only a single destination address can be configured for each
address
serial port. The address cannot be 0.0.x.x, 127.x.x.x, 192.1.1.1, 248-255.x.x.x
or the IP address of the ESP-2 hub.
Destination IP
Specifies the IP port number on which the remote server is listening. Valid
port number
values are 0-65535. The default value is 4001 for port 1 and 4002 for port 2.
Specifies the IP port number for the embedded TCP client. Valid values are
Local IP port
1024-65535. This value cannot conflict with port numbers specified for other
number
enabled connection methods on the other port. The default value is 4001 for
port 1 and 4002 for port 2.
12
Equinox ESP-2 OPTO Serial Hub Installation and User Guide

Advertisement

Table of Contents
loading

Table of Contents