Endpoint state - T_OUTCON
Endpoint state - T_OUTCON
- Subject: Endpoint state - T_OUTCON
- From: Igor garnov <email@hidden>
- Date: Mon, 19 Jan 2004 19:22:39 +0300
Hello,
I have a couple of questions in respect of Open Transport.
1) Using Open Transport, if I call OTConnect in asynchronous mode, I
use my notifier function to be informed when this call succeeds or
fails.
But what if during my asynchronous waiting I have to destroy the
endpoint on which I have called OTConnect?
I call OTGetEndpointState, and it returns T_OUTCON.
What actions should I perform to correctly shutdown this endpoint
without having to wait for this (possibly) lengthy operation to
complete?
2) If I issue OTConnect in asynchronous mode and then call
OTRemoveNotifier and OTSetSynchronous for the endpoint (because I have
to close down, for example), will it cause some error? Is this approach
incorrect in some way?
Regards,
Igor
_______________________________________________
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.