• 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: ignoring sigpipe
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ignoring sigpipe


  • Subject: Re: ignoring sigpipe
  • From: Douglas Davidson <email@hidden>
  • Date: Fri, 4 Apr 2003 13:49:05 -0800

On Friday, April 4, 2003, at 12:04 PM, Michael Robinette wrote:

I also set the app to ignore SIGPIPE and verify that the handler is SIG_IGN, as demonstrated in the MoreUNIX examples.

But SIGPIPE is still raised when I transfer large amounts of data. It happens often, but not reliably, and it only happens with a certain client app.

If you specify that SIGPIPE is ignored, you shouldn't receive it. There is also the socket option SO_NOSIGPIPE, which you can set on a per-socket basis with setsockopt(), to turn off SIGPIPE for that particular socket.

Douglas Davidson
_______________________________________________
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: 
 >ignoring sigpipe (From: Michael Robinette <email@hidden>)

  • Prev by Date: ignoring sigpipe
  • Next by Date: Failing to bind to port
  • Previous by thread: ignoring sigpipe
  • Next by thread: Setting of Hop Count
  • Index(es):
    • Date
    • Thread