Sajul,

> 
>     if (AppNetRefnum != 0)
>     {
>         NetLibOpenCount (AppNetRefnum, &count) ;
>         while (count > 0)
>         {
>             NetLibClose (AppNetRefnum, false) ;
>             count--;
>         }
>     }
> 
> 
> This does not seem to work. It causes problems when a dialup is 
> cancelled because the NetLib is shown to be still up even after I do 
> a NetLibClose .

Read the documentation about the second parameter in NetLibClose :-)

Christian Falch
<http://www.falch.net>


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

Reply via email to