FROM : Jens Alfke
DATE : Sun Feb 17 23:44:38 2008
On 17 Feb '08, at 11:35 AM, Kyle Sluder wrote:
> You're trying to read write to a pipe fd that has been closed on you.
> Trap SIGPIPE (man 3 signal) and you'll get a better understanding of
> where this is happening.
SIGPIPE is widely considered a nuisance. Many programs call signal(2)
at startup to ignore that signal completely. Just be sure to check
errno after a failed read/write, to detect when the socket got closed
from underneath you.
—Jens_______________________________________________
Cocoa-dev mailing list (<email_removed>)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
This email sent to <email_removed>
DATE : Sun Feb 17 23:44:38 2008
On 17 Feb '08, at 11:35 AM, Kyle Sluder wrote:
> You're trying to read write to a pipe fd that has been closed on you.
> Trap SIGPIPE (man 3 signal) and you'll get a better understanding of
> where this is happening.
SIGPIPE is widely considered a nuisance. Many programs call signal(2)
at startup to ignore that signal completely. Just be sure to check
errno after a failed read/write, to detect when the socket got closed
from underneath you.
—Jens_______________________________________________
Cocoa-dev mailing list (<email_removed>)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Tomas Franzén | Feb 17, 17:58 | |
| Kyle Sluder | Feb 17, 20:35 | |
| Jens Alfke | Feb 17, 23:44 |






Cocoa mail archive

