I am giving a NetLibOpen call in my program. This causes the modem to
dial out and make a connection. Later to disconnect the modem I give the
NetLibClose call. But here the connection does not break.
Here is the code for Disconnecting
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 .
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/