Boost logo

Boost Users :

Subject: [Boost-users] Boost::ASIO, Signal handlers
From: Dan Eaton (daniel.eaton_at_[hidden])
Date: 2009-10-15 13:43:51


I'm using the ASIO component of boost 1.39.0, and noticed that it uses std::signal() to ignore SIGPIPE by default.

Can you confirm that this is indeed the case? How do I prevent this behavior? (and therefore allow for my own signal handler)

I was thinking to simply call std::signal() on my own, after the construction of io_service. Will that work, and is there a better way?

Thank you,
Dan Eaton



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net