Question

I've been trying to add Wi-Fi connectivity to my Windows Mobile 6.1 .NET CE 3.5 application but can't figure out why I get the following SocketException:

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

at System.Net.Sockets.Socket.ConnectNoCheck(EndPoint remoteEP) at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) at System.Net.Connection.doConnect(IPEndPoint ep) at System.Net.Connection.connect(Object ignored) at System.Threading.ThreadPool.WorkItem.doWork(Object o) at System.Threading.Timer.ring()

ErrorCode 10060 (ConnectionTimedOut)

despite IE having perfect connectivity. Both IE and my application work fine over the cradle and GPRS connections.

Any ideas?

Was it helpful?

Solution

Try connecting to the same server/resource in your code as in IE.

Retroactive answers are fun.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top