On xbee WiFi there is a parameter called TCP Server Socket Timeout. I suppose that if a TCP socket connection is initiated by the client, then is no message is received after timeout the socket is closed, am I right?.
That is what that parameter is for. It tells the module to drop the TCP socket if it does not have any data to be sent.
1 Like