Home/Support/Support Forum/Xbee Wifi S6 TCP socket connection
New and improved user forum site coming soon

Xbee Wifi S6 TCP socket connection

0 votes
Hi, I'm using Xbee Wi-Fi S6 module in SPI mode as TCP server to connect devices which do not support UART or USB. TCP socket is opened and communication is passed to MCU. It works very well.

But problem is that some out-of-my-control applications do not use persistent TCP connection but for each request-response new socket is established (i.e. source port is incremented). To be even worser the new socket is being initialized before the first one finalization flow is ended.

The tcpdumped sequence is (#1=old, #2=new socket):

FIN (app#1) - SYN (app#2) - ACK (xbee#1) - ACK(app#1) - FIN(app#1) - ACK(xbee#1) - RST(xbee#2)

Is somehow possible fix this issue at Xbee side ? I suppose Xbee's TCP stack can legally handle only one open socket.

asked Jun 10, 2014 in RF Solutions and XBee by tma0 New to the Community (7 points)

Please log in or register to answer this question.

1 Answer

+1 vote
Best answer
No it is not able to support two sockets at a time. You are going to need to fix this on the other side.
answered Jun 10, 2014 by mvut Veteran of the Digi Community (15,515 points)
selected Jun 18, 2014 by tma0