On 2006-07-27, James <[EMAIL PROTECTED]> wrote:
> Hello All,
> I have a Treo650 and created a socket app that works through the
> internet. Now when I access this app and it calls out to the internet,
> I am assuming it is using the wireless modem? 
>
> The question I have is, after I exit my app, the connection to the internet
> is still present. How do I terminate this connection? In the web browser
> there is a feature called "Disconnect" which does the trick, but I want to
> automaticlly do this once I leave my app?
>
> Thanks again!

Look at NetLibClose() in the SDK. Setting the immediate parameter to true, 
does what you want.

HTH

Ton van Overbeek

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to