Re: OT & Carbon issues
Re: OT & Carbon issues
- Subject: Re: OT & Carbon issues
- From: Quinn <email@hidden>
- Date: Tue, 21 May 2002 14:59:13 +0100
At 7:13 -0600 7/5/02, Scott Ribe wrote:
- Open an endpoint, set it to reuse the IP address, set blocking, set
synchronous, install notifier, set use sync idle events to true, then bind.
Under Classic this runs fine, under OS X the call to bind never returns--the
installed notifier is constantly called with sync idle events. The port
doesn't seem to matter; I've tried various ranges. Moving the set use sync
idle events to after the bind makes it work. Easy workaround, but it took
hours for me to stumble onto it--is there any documentation anywhere that
would have made this easier?
I've never heard of this one before. Please file a bug.
<
http://developer.apple.com/bugreporter/>
- Run the client & server on the same computer. Run both under OS X and
everything works. Run the server under OS X and the client under Classic,
and the server never returns from OTListen. (I haven't bothered to see what
happens in the client, error or no return.) It doesn't matter if the client
tries to connect to 127.0.0.1 or the server's actual IP address. If the
client is run under Classic on a different computer, it works fine. This is
only an inconvenience for testing--the server will always be running on an
OS X Mac, and the client does not ever need to be run on the server. But is
this problem known? Documented? Is there a workaround?
This is a known issue. The workaround is to connect to the server
using the machine's real IP address rather than 127.0.0.1.
As to where this stuff is documented, my policy has been to get notes
added to the OT section of the Carbon specification.
<
http://developer.apple.com/techpubs/macosx/Carbon/CarbonSpecification/Open_Transport.html>
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
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.