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

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

Advertisement

Table 7: Telnet Server Connection Method Configurable Items (Continued)
Item
Description
Specifies the length of time before the Telnet session is disconnected if there is
no activity. Valid values are 0-65535 seconds.
Inactivity time-
For example, a value of 60 indicates the Telnet 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).
Specifies the length of time accumulated serial data should be buffered before
being sent across the network to the Telnet client. Valid values are 0-65535
hundredths of a second.
For example, a value of 100 indicates that once serial data is received, the
Serial
ESP-2 hub will buffer the data until 1 second (100 hundredths of a second) has
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.

3.3 Raw TCP Server

The raw TCP server connection method allows a remote client to make a TCP socket
connection to a serial port on the ESP-2 hub and then transmit/receive data using standard
TCP. The remote client initiates the TCP session, using a predefined IP port number.
When this method is enabled, the TCP server will accept a connection from any valid
remote IP address. There is no filtering of remote addresses. When a remote raw TCP
client attempts to establish a connection, the raw TCP server will accept the
connection only if the port is not already open and in use by any connection method,
including an existing raw TCP server connection on that port. If the port is currently
in use, the connection request will be rejected.
The TCP session will remain established until the remote client closes the TCP
socket, the TCP connection is broken or the inactivity time-out (if enabled) occurs.
Table 8 describes this method's configurable items for each serial port.
Table 8: Raw TCP Server Connection Method Configurable Items
Item
Description
Enables or disables the raw TCP server connection method on the port. The
Enable/
default value is disabled. This method cannot be enabled if the raw TCP client
disable
connection method is already enabled for the port.
Specifies the IP port number on which the TCP server will listen. This value
Local IP port
cannot conflict with port numbers specified for other enabled connection
number
methods on either port. Valid values are 1024-65535. The default value is 4001
for port 1 and 4002 for port 2.
12
Equinox ESP-2 MI Serial Hub Installation and User Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents