Signal handling in unix
Posted on 2000-05-08
I have TCPSocket class which offers method connect, close, read
and write (probably no need to explain them :). I have been using roquewave to implement this class.
Now I would like to add a signal handler to my class, which notifies the user when SIGPIPE is received. I have been looking into man pages,
but can't figure out how to do it.
So what I would like is a simple example (maybe a class) which has
a signal handler and some explanation how it works.