none
Establishing a connection to the internet.

    Question

  • Hello.

    I was wondering what is the best practice way of connecting to the internet via GPRS, etc. My application accesses .net web services.

    At the moment, I simply call a dummy web method. This in turn causes the device's modem to automatically dial in if not done so already. The web service call then continues ( I catch a web exception if the connection failed).

    However, this seems like a bit of a hack. The application seems to hang while it awaits the connection. Our users do not like it very much.

    What is the most common way you guys would create a connection? I'd imagine there's probably a proprietory method in the device's API but I'd like the app to be as generic as possible.

    Thanks in advance

    Lee.
    Tuesday, December 05, 2006 4:48 AM

Answers