Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in deliver_request when socket fails



Andrew White wrote:

I think I've figured it out. For some reason, some commands set up a second socket for error notification (reuse_sd is 0 - *why* does it do this?). This routine calls 'listen (listenfd, 1)'. If the matching socket on the other end fails to initialise then that 'listen' will never return. Sure, there's a backlog of '1', but we're the only client and we're hung then there's nothing to add to the backlog.

Correction: did some testing and it's actually hung in the 'accept' call a few lines later.


--
Andrew White

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bonjour-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/bonjour-dev/email@hidden

This email sent to email@hidden
References: 
 >Bug in deliver_request when socket fails (From: Andrew White <email@hidden>)
 >Re: Bug in deliver_request when socket fails (From: Andrew White <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.