Re: OTRcvConnect and kOTNoDataErr?
Re: OTRcvConnect and kOTNoDataErr?
- Subject: Re: OTRcvConnect and kOTNoDataErr?
- From: "Duane Murphy" <email@hidden>
- Date: Thu, 5 Jun 2003 09:49:51 -0700
--- At Wed, 4 Jun 2003 23:01:52 -0700, Duane Murphy wrote:
>
--- At Wed, 4 Jun 2003 17:31:02 -0700, Duane Murphy wrote:
>
>
>I am trying to debug a problem and I cant work out what's wrong. I am
>
>getting back kOTNoDataErr from OTRcvConnect. kOTNoDataErr is also the
>
>same error that is return for OTConnect. (I think this is just
>
>coincidence. The results are stored in different variable so that's not
>
>the problem.)
>
>
>
>This is a standard TCP/IP port connect request to the HTTP port.
>
>
>
>I have a similar application that is smaller that doesnt cause this
>
>problem, so it must be something that I am doing.
>
>
>
>Any ideas what could be causing this error?
>
>
I wanted to add that I am on OS X building a Mach-O application.
Thank you everyone for your suggestions.
It turns out OT gets very unhappy if you dont give it time to do work
(aka call WaitNextEvent). Doh! Calling WNE solved this problem.
Now on to the next ....
...Duane
_______________________________________________
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.