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.