Re: PPP Control Stream
Re: PPP Control Stream
- Subject: Re: PPP Control Stream
- From: Duane Murphy <email@hidden>
- Date: Mon, 15 Apr 2002 09:09:37 -0700
As it seems no one else has an answer to this, we managed to work out our
own work around. We do believe that there is a long standing bug in the
PPP stream implementation however.
If I_OTConnect returns -3205 (or any other error :-), then we send a
I_OTDisconnect. We wait for the state to change to disconnected and try
the connect again. For some reason the PPP stream needs WNE time to get
the state change to take affect. This complicates things quite a bit, but
we managed.
It seems that if something goes wrong trying to connect (bad password, no
server, bad configuration, etc), not just by our app but by any app using
the PPP stream, then the PPP stream can no longer connect without being
disconnected first.
--- At Wed, 10 Apr 2002 10:26:20 -0700, Duane Murphy wrote:
>
We are using the PPP control stream to control Remote Access from our
>
application (we also have a control strip that shows the same problem).
>
>
If a connection is attempted using Remote Access but the configuration is
>
incorrect then the control stream will return error kENXIOErr = -3205, No
>
such device or address from the I_OTConnect ioctl call.
>
>
the I_OTConnect ioctl continues to return this error until Remote Access
>
itself is used to make the connection. This seemingly clears the error
>
and allows things to continue. At that point the connection to the PPP
>
control stream is fine and continues to work. Note that this is all the
>
same connection to the control stream; we never close the control stream
>
(except on exit).
>
>
The incorrect connection is usually caused by TCP/IP not having PPP selected.
>
>
Is there a call we can make to the control stream to clear this error? Is
>
there something that we are supposed to respond to? We are using an async
>
connection but all we do is grab the error results; we dont do or return
>
anything.
...Duane Murphy
Efficient Networks, Inc.
<
http://www.efficient.com/>
_______________________________________________
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.