Hello Guys, I need to pick the status of connection in end of my
application.... Look
the middle of my code below:

            UInt16 AppNetRefnum;
            err = SysLibFind("Net.lib", &AppNetRefnum);
            if(err) return err;
            err = NetLibOpen(AppNetRefnum, &ifErrs);
            if (((err==0)&&((ifErrs==0)||(ifErrs==netErrAlreadyOpen))){
                      workOnline=true;
            }
           else workOnline=false;

And in the AppStop I want to confirm if the connection is ok or not!!!

But if anything happen with connection in the application I will not know if
is connected or not!
If the connection down in application (in use)?? My application will return
for me that still connected...

Anybody can help me????

Thanks,

Lucas



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

Reply via email to