• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Endpoint state - T_OUTCON
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Endpoint state - T_OUTCON


  • Subject: Endpoint state - T_OUTCON
  • From: Igor garnov <email@hidden>
  • Date: Mon, 19 Jan 2004 19:24:02 +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.

  • Prev by Date: Re: TCP connection timeout
  • Next by Date: Endpoint state - T_OUTCON
  • Previous by thread: Re: TCP connection timeout
  • Next by thread: Endpoint state - T_OUTCON
  • Index(es):
    • Date
    • Thread