Network connection does not work after an idle time. (Socket error 10050)

Asked

Viewed 91 times

1

Hello,

The problem described occurs on windows mobile platforms. Tested on equipment: CN50, CN51, MC65, MC67.

How to produce the error:

  • Install an app on one of the devices described above.
  • Restarting the equipment
  • I do connection tests through the app, via Wireless and GPRS (Creating a socket and exchanging data with the same)
  • I leave the equipment for an idle time (about 1h)
  • I click the button to do the test again. 10050 socket error starts to appear.

This error also occurs when I change the connection type. Ex: The equipment is connected via cable on the computer and I remove the cable making the equipment use the wirless connections (wifi or GPRS)

Procedures for trying to solve:

  • I quit the app and turned off the wireless interface and tried only by GPRS (did not work)
  • I quit the app and turned off the gprs interface and tried just for wireless (it didn’t work)
  • Quit the app, relived the wireless interface and gprs, opened internet explorer, entered a web address, then opened the app and tested the connection (it worked).

APP:

The application basically creates a socket with a server, I do not perform any operation to request connection type Connectionmanager.open() before creating the socket, because I saw that it is deprecated.

You need to use Connectionmanager for devices running windows mobile ?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.