In article <104528@palm-dev-forum>, [EMAIL PROTECTED] says...
> 
> >>  I've the proble to verify if the connection with ISP fails because the
> >>  line in busy.
> >>  Is there anyone who can suggest me how to do it?
> >>  I didn't find any reference on SDK.
> 
> netlib should return an error code to you. Why don't you just try it 
> and see what happens?
> 
> Regards,
> Steve Mann
> 
> 
>

thx Steve,

Unfortunately no error code tells ms if the line is busy.

In the 4.0 SDK documentation (around page 1260) you can find:
NetLIbOpen returns:
        netErrAlreadyOpen
        netErrOutOfMemory
        netErrNoInterfaces
        netErrPrefNotFound
NetLibIFUp returns:
        netErrNotOpen 
        netErrInterfaceNotFound
        netErrUserCancel
        netErrBadScript
        netErrPPPTimeout
        netErrAuthFailure
        netErrPPPAddressRefused.

The most interesting is PPPtimeout but I cannot be sure if it is a busy 
line or a server problem.

Is there another function I can use?

dex

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

Reply via email to