• 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
Re: OTConnect() returns kOTOutStateErr
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OTConnect() returns kOTOutStateErr


  • Subject: Re: OTConnect() returns kOTOutStateErr
  • From: Igor Garnov <email@hidden>
  • Date: Fri, 11 Feb 2005 17:21:58 +0300

Hello

of course you should always wait for Mr. Quinn's reply, as he's the most experienced in the field, but as a start here's my idea:

if you set the endpoint to non-blocking state, it's assumed to return immediately after every call, and the result can tell you what's happened - has it failed or not.

In my personal opinion, it's enough to set the endpoint non-blocking. Try commenting the line 'OTUseSyncIdleEvents(tempSocket, true);' and see what happens.

Actually, there's no need for you to use 'OTUseSyncIdleEvents(tempSocket, true);' since you're choosing polling instead of being notified in the endpoint completion routine.

Igor

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: OTConnect() returns kOTOutStateErr
      • From: Gaurish Kshirsagar <email@hidden>
References: 
 >OTConnect() returns kOTOutStateErr (From: Gaurish Kshirsagar <email@hidden>)

  • Prev by Date: Re: CFHTTPMessageAddAuthentication only works once?
  • Next by Date: Need help getting FTP to work from within Acrobat 6.0 plugin
  • Previous by thread: OTConnect() returns kOTOutStateErr
  • Next by thread: Re: OTConnect() returns kOTOutStateErr
  • Index(es):
    • Date
    • Thread