![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/16/1166c9bc-dac0-4b08-8c8b-1041b20f9e08/1166c9bc-dac0-4b08-8c8b-1041b20f9e08-bga7.png)
SOCKETS TCP/IP Stack 153
E-EQ-MX3RG-J-ARC MX3 Reference Guide
tcp rtt sub-command
tcp rtt replaces the automatically computed round-trip time (RTT) for the specified connection
with the 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 timing
mechanisms, it may be used to speed up recovery from a series of lost packets.
Example
tcp rtt 4 100
tcp smss sub-command
tcp mss displays or sets the TCP send maximum segment size in bytes. When size is not specified,
the current values of the TCP parameters, including the SMSS, are displayed.
A small SMSS causes the remote to reduce its segment size. tcp mss can reduce the MSS and
SMSS on bad network connections with high loss rates or where large packets get lost.
Example
tcp smss 512
tcp window sub-command
tcp window displays or sets the default and maximum receive window size.
When specified without the size parameter the current TCP parameters, including the current
window size, are displayed.
Example
tcp window 2920
tcp timemax sub-command
tcp timemax sets the maximum duration of a tcp retry. If a value greater than 255 seconds is
specified, connections will never timeout.
This is very useful in wireless applications where nodes roam in and out of service.
Example
tcp timemax 2000ms