• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CFStream: Error handling problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: CFStream: Error handling problem (From: Doug Brown <email@hidden>)

  • Prev by Date: Re: Caller ID
  • Next by Date: Re: killing a sleeping server thread?
  • Previous by thread: Re: CFStream: Error handling problem
  • Next by thread: NKE.pdf
  • Index(es):
    • Date
    • Thread