Re: CFStream: Error handling problem
Re: CFStream: Error handling problem
- Subject: Re: CFStream: Error handling problem
- From: Steve Sisak <email@hidden>
- Date: Tue, 10 Jun 2003 19:50:53 -0400
At 15:17 -0700 6/10/03, Doug Brown wrote:
On Tuesday, June 10, 2003, at 02:49 PM, Becky Willrich wrote:
I'm sorry to say that there is no workaround for Jag.
Although in all likelihood, if you're working with a socket stream
and got a POSIX domain error with a code between 1 and 4, that's
probably actually an h_errno error - sockets are extremely unlikely
to hit POSIX errors in that range....
On a related note, IOReturn has bit fields for all sort of error domains.
Would it be possible to define standard sets of high bits for the
various unix error domains (errno, h_errno, IOKit, OSErr, etc.) and
have a strerror() equivalent smart enough to handle it.
Bonus points if error domains and strings can be added at runtime.
(I can't tell you how much time I waste trying to parse IOReturns
when gdb will only show them in decimal)
Cheers,
-Steve
_______________________________________________
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.