notifier cookie values for T_ACCEPTCOMPLETE and T_PASSCON?
notifier cookie values for T_ACCEPTCOMPLETE and T_PASSCON?
- Subject: notifier cookie values for T_ACCEPTCOMPLETE and T_PASSCON?
- From: "Thomas E. Knowlton, Jr." <email@hidden>
- Date: Tue, 20 Jan 2004 10:56:57 -0700
The PDF (Networking with OpenTransport) indicates that T_ACCEPTCOMPLETE
and T_PASSCON events arriving on the notifier will have cookie values
equal to the accepting endpoint reference. (Actually that document is
internally inconsistent - on p. 492 it states that T_ACCEPTCOMPLETE
gets the "res" or listening endpoint ref, and on p. 386 it states that
it's the "resRef" or accepting endpoint reference).
In my app, both statements appear to be wrong. The cookies I'm getting
back for those events appear to be altogether unrelated to the ep refs
of the listener _or_ the acceptor. That is, when I do OTAccept(AAA,
BBB, call) I see T_ACCEPTCOMPLETE's cookie is neither AAA nor BBB and
likewise with T_PASSCON.
Has anyone on this list noticed this behavior, or do any of you have
any idea what I may be doing wrong to provoke this behavior? My design
does not depend on the documented behavior, but I had thought to use it
in development as a sanity check, and it turns out my code is insane if
the cookies are to be believed.
For context, I'm developing an OpenTransport classic application for
Mac OS 9, not using Carbon.
Thanks in advance.
--
Tommy Knowlton
_______________________________________________
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.