Re: kEAGAINErr and StateMachines
Re: kEAGAINErr and StateMachines
- Subject: Re: kEAGAINErr and StateMachines
- From: "Duane Murphy" <email@hidden>
- Date: Thu, 27 Mar 2003 22:42:42 -0800
--- At Thu, 27 Mar 2003 17:14:25 -0800, Duane Murphy wrote:
>
I thought I would dredge up some old nightmares while I am doing in depth
>
research.
>
>
I have a driver that uses open transport state machines to do
>
configurations. After 4 years of this working fine, I now have an
>
ethernet stream interface that is returning kEAGAINErr and I am not
>
handling this.
I wanted to follow up because I think I am shooting in the dark a bit.
I have a configurator for a networking driver that uses open transport
state machines to do several things. One of those things is to open
streams to various ethernet ports. In this case I am calling
OTSMOpenStream and the port is return kEAGAINErr.
The Advanced Client Programming manual says that returning kEAGAINErr
from CreateStream will cause OT to schedule a deferred task and try
again. Well, I am inside of the configurator at this point.
I am looking for an idea of what I should do. I suppose I need to create
a deferred task and call it to do the work I need done later. But what do
I do in the mean time? OTIdle? The higher level's are expecting this to
return appropriately.
Thanks for any suggestions.
...Duane
_______________________________________________
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.