|
|||||||||||
|
Technical Support Support Resources
Product Information |
MDK MIDDLEWARE: TCP-ERR:Socket #, Out of range segment receivedInformation in this knowledgebase article applies to:
SYMPTOMAfter MDK MIDDLEWARE: How to enable the network debugging in µVision, the Event Recorder shows the following error: | Event | Time(sec) | Component | Event Property | Value | | 10 | 1.23456778 | Net_TCP | OutOfRangeSegment | sock=1 | Earlier versions of the Network Component and TCPnet could report similar error messages via Debug STDIO (ITM or USART): TCP-ERR:Socket #, Out of range SEQ number received TCP ERR: Out of range sequence number received CAUSEA packet is lost, at some point in the network. Then a sender transmits the next (unexpected) segment number. The receiver detects this, and informs the sender of the expected number, by replying with a duplicate ACK. This ACK is based off the last segment that was handled. Recovery steps are implemented, by the Network Component, according to RFC 5681, TCP Congestion Control. Although packet loss is common, when this error message is repeated continuously or associated with other error messages, it can indicate a larger problem, with either a sender or a receiver on the network. RESOLUTIONThere can be several different causes for packet loss, so multiple resolutions exist. To determine which node in the network causes the issue, the users can use third party tools, such as Wireshark, to help isolate the problem. For example, a router can dump packets if its receive buffer is overloaded. From the microcontroller side, you may try the following:
MORE INFORMATION
SEE ALSO
FORUMSLast Reviewed: Tuesday, January 5, 2021 | ||||||||||
|
|||||||||||
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.