Re: OTConnect() returns kOTOutStateErr
Re: OTConnect() returns kOTOutStateErr
- Subject: Re: OTConnect() returns kOTOutStateErr
- From: Gaurish Kshirsagar <email@hidden>
- Date: Wed, 16 Feb 2005 21:37:33 +0530
Hi,
Thanks Igor for the response. But unfortunately it did not work.
Is there anything else that I can try?
Thanks,
Gaurish
On Fri, 11 Feb 2005 17:21:58 +0300, Igor Garnov <email@hidden> wrote:
> 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