Re: PPPLib Error Problems Part 2
Re: PPPLib Error Problems Part 2
- Subject: Re: PPPLib Error Problems Part 2
- From: Herb Hrowal <email@hidden>
- Date: Fri, 31 Jan 2003 10:06:10 -0800
On Thursday, January 30, 2003, at 11:49 PM, Chris Cooksey wrote:
I just found what is different between my tester's machine and my own.
The
tester is running Mac OS 10.2 and I am running 10.1. Does anyone know
why
PPPLib under 10.2 might be favoring PPP_ERR_GEN_ERROR over the
NODIALTONE or
LINEBUSY errors?
I ran into the same problem when switching to 10.2. I think it probably
had to do with the fact that I wasn't looking for the error in the
correct place. In 10.1 you could find the error code in ppp_msg_hdr.
m_cookie.
In 10.2 this always comes back as a generic error. However, you can
find the correct error in ppp_status.s.disc.lastDiscCause if
ppp_status.status == PPP_IDLE and ppp_msg_hdr.m_result ==
PPP_EVT_DISCONNECTED.
I hope this makes sense, if not I'll try to explain it a bit
differently.
Herb
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.