Connecting socket to server on Windows Mobile platform
Posted on 2013-10-22
We're using Windows Mobile 6.5. Our application creates a socket and connects to a Telnet server - we interpret the response from the server and send back user input as required. Whilst the Windows Mobile device stays awake all is fine.
When the device 'sleeps' and is then woken it attempts to open a new port for the socket connection. This is happening at a lower level than my application, and is not the direct result of my coding. The result is that the host is confused, seeing two ports from the same device and closes both ( understood from a Wireshark trace ).
Can anyone tell me is this behaviour - i.e. opening a new port on wake-up - is 'normal', or can be disabled ?