Re: Anybody know where to find this information?
Re: Anybody know where to find this information?
- Subject: Re: Anybody know where to find this information?
- From: Quinn <email@hidden>
- Date: Tue, 27 Apr 2004 17:37:41 +0100
At 8:34 -0700 27/4/04, Dakidd wrote:
To: email@hidden
Cc: email@hidden
Please don't cross post between lists. When folks on the other list
do a "reply to all", they get bounced because they're not subscribed
to MacNetworkProg. No big deal, but something to keep in mind in the
future.
At 8:34 -0700 27/4/04, Dakidd wrote:
Anybody able to point me at what I'm apparently missing?
"OpenTransport.h" (-:
ECONNREFUSED = 61, /* Connection refused */
It is actually documented, you just have to work out that
kECONNREFUSEDErr (-3260) is the OSStatus range mapping of
ECONNREFUSED (61) via the OSStatus2E and E2OSStatus macros.
The positive version of this error code (kECONNREFUSED) is
returned by Open Transport as a reason code in a disconnect
message, indicating that the other side refused the connection.
-- <
http://developer.apple.com/documentation/mac/NetworkingOT/
NetworkingWOT-479.html>
Of course, by the time you know enough about OT to understand this
comment and find it in the 886 page document, you no longer need the
help )-:
So, yes, I know that this is non-obvious and very hard to find in the
documentation. I apologise for that, both on behalf of Apple and
personally (I was the primary reviewer on the book).
However, it's unlikely to get fixed because OT is now officially
deprecated, so we're not updating the documentation. We recommend
that you avoid the OT API unless you have to support pre-X systems.
On a related note, if you are working with OT, please make sure to
use the "Inside Macintosh: Networking with Open Transport" version
1.3 document as your primary reference.
<
http://developer.apple.com/documentation/mac/pdf/NetworkingOT.pdf>
The Carbon documentation has a couple of useful updates, but it also
omits some key information (such as the comment quoted above).
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.