LXE MX1-IS Reference Manual page 99

Intrinsically safe
Hide thumbs Also See for MX1-IS:
Table of Contents

Advertisement

SOCKETS TCP/IP Stack
To affect incoming connections, tcp irtt should be executed before the servers are started.
Example
tcp irtt 120
Sample Output
TCP: IRTT 5 ms Retry 6 MSS 1460 SMSS 1460 Window 2920
tcp lport Sub-command
tcp lport specifies the local port starting number. When specified without a number the current
value of the next free local port number is displayed.
Example
tcp lport 2004
Sample output
Lport = 2004
tcp mss Sub-command
tcp mss displays or sets the TCP maximum segment size in bytes. When size is not specified, the
current values of the TCP parameters, including the maximum segment size, are displayed. It is
recommended to reduce the MSS and SMSS on bad network connections.
Example
tcp mss 1460
tcp retry Sub-command
tcp retry displays or sets the retry count before a connection is broken. When specified without the
number parameter, tcp retry displays the current values of TCP parameters, including the retry
count.
tcp rtt sub-command
tcp rtt replaces the automatically computed round-trip time (RTT) for the specified con
time in milliseconds. Sockets calculates the RTT as a smooth average of past measured RTTs,
starting with the IRTT on a new connection.
To get the current RTT in use for a connection n, use the tcp status n command that will give the
smoothed average RTT indicated by SRTT.
Because tcp rtt provides a manual override of the normal back-off retransmission
mechanisms, it may be used to speed up recovery from a series of lost packets.
Example
tcp rtt 4 100
E-EQ-MX1ISRG-F
nection with the
timing
MX1 I-Safe Reference Guide
89

Advertisement

Table of Contents
loading

Table of Contents