Re: OTAsyncOpenInternetServicesInContext question
Re: OTAsyncOpenInternetServicesInContext question
- Subject: Re: OTAsyncOpenInternetServicesInContext question
- From: Quinn <email@hidden>
- Date: Mon, 12 Jan 2004 15:02:55 +0000
At 22:10 +0300 9/1/04, Igor garnov wrote:
As far as I understand, when I call it, it returns immediately, and
the only way for me to get its result is to catch it in my callback
ffunction, whose UPP I pass as a third parameter.
Is this true?
Almost. The general rule for OT functions with completion events is either:
a) the function returns noErr, in which case your notifier is called
with the appropriate completion event (with an error value in the
result parameter), or
b) the function returns an error, in which case your notifier is not called.
If yes, which event code should I expect?
T_OPENCOMPLETE
More generally, where can I find a piece of documentation describing
which event code corresponds to a particular asynchronous function?
The book you want is "Inside Macintosh: Networking with Open Transport".
<
http://developer.apple.com/documentation/mac/NetworkingOT/NetworkingWOT-2.html>
Table 6-1 lists the events for mappers.
Table 4-2 lists the events for endpoints.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
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.