My WinCE device (C#, CF 3.5) communicates with SERVER through socket.
When it works for more than 12hs it disconnect and this Exception occurs: A socket operation encountered a dead network.
For what I have read maybe the public IP change. But in my code I reconnect to the new IP so I don’t know why this exception is thrown.
If you are on a mobile device I’d say it’s the device’s IP address that changes.
And even more: The network provider might shutdown and restart the whole network connecting the device every 12hs.
In case of receiving
WSAENETDOWNyou should restart the whole IP client part of your application.