AnsweredAssumed Answered

TCP send failure after reopening a socket

Question asked by Ariela Blumer on Apr 5, 2016
Latest reply on Apr 26, 2016 by Ariela Blumer


I am working on a product with a WiFi connectivity and a K66 based processor. MQX version is 4.0.2.

I am running a  test which sends packets from a TCP client to a TCP server running on a PC. It happens that tarnsmission fails due to TCP connection closure. When this happens I'm shutting down the socket and creating a new one. Ocassionally, sending TCP packets fails although the new connection was created successfully. I'm getting errno 0x1635 which implies the socket is closed. Any idea what may be the reson for this behavior?


BTW, I've seen a thread regarding an issue with multiple sockets, I'm using a single socket in my test.