Home/Support/Support Forum/After establishing a TCP connection, randomly getting EOF

After establishing a TCP connection, randomly getting EOF

0 votes
I'm using an Xbee S6B in API mode as a TCP client. I connect to the AP and then to my TCP server (by setting the client port to 0) without any issues. However, at random times my TCP server receives an EOF from the client when it shouldn't.

I never instruct the Xbee to close the TCP socket. I am certain the Xbee and the server remain connected to the AP when the EOF is received. The server is not configured to use a keepalive and should leave the pipe open until closed.

Any ideas on why this may be happening?
asked Oct 21, 2014 in IEEE 802.11 (Wi-Fi) by m.digman New to the Community (1 point)

Please log in or register to answer this question.

1 Answer

+1 vote
Check the TM and TS commands on the XBee module.
answered Oct 22, 2014 by mvut Veteran of the Digi Community (15,223 points)
Thank you! Solved my problem.