On Thu, 2002-08-08 at 15:30, David Busby wrote:
> List,
>       In C/C++ how do I get my code to listen for processes?  Namly listen for 
> SIGKILL?  See it's a socket application and if I use kill from the 
> command line it doesn't shutdown my sockets right and I've got to wait 
> for the OS to clean up for me...bad sloppy developer, can't have that.

man 2 signal
man 2 sigaction

Often the best reference for code is the source of a server that you
know works as intended.  Both Apache and Samba are good, portable code
bases that would probably give you a good idea of how this is actually
done.




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to