Sounds like linger isn't being set properly - that might help the
problem. Here's a link for more info:
http://www.escribe.com/computing/pcpqa/m54157.html
In a previous message, Kevin Corey wrote:
>
> I had a roughly similar issue on a program I am working on.
>
> I put in a loop to call NetLibClose until it returns the error
> 'netErrNotOpen'.
>
> -Ken
>
>On Tue, 2003-02-04 at 15:04, RaNo wrote:
>> Hello! Here's what I do:
>>
>> 1) Launch my app and connect to the internet
>> 2) Close everything and call NetLibClose (immediate=false)
>>
>> immediate=true would dicsonnect here
>>
>> 3) Exit my application
>> 4) Go back to my application without establiching connections
>> 5) Call NetLibClose, this time: immediate=true
>>
>> does not disconnect
>>
>> Also, NetLibOpenCount says there is 0 connections.
>> The only way to disconnect here is to turn off the device.
>>
>> My questions: how to close internet connection reliably?
>>
>>
>> --
>> Radoslaw Nowak, RNS::
>> www.ranosoft.com/palm
----
Tom Frauenhofer, [EMAIL PROTECTED]http://www.beret.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
- NetLibClose (immediate) does not disconnect. RaNo
- Re: NetLibClose (immediate) does not disconnect. Brian Smith
- Re: NetLibClose (immediate) does not disconnect. kcorey
- Re: NetLibClose (immediate) does not disconnect. Tom Frauenhofer
- Re: NetLibClose (immediate) does not disconnect. Chris Faherty
- Re: NetLibClose (immediate) does not disconnect. RaNo
- Re: NetLibClose (immediate) does not disconnect. Brian Smith
- Re: NetLibClose (immediate) does not disconnect. Chris Faherty
