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