[Tutor] Killing a socketserver

Alan Gauld alan.gauld at btinternet.com
Thu Feb 5 19:07:28 CET 2009


"Michael Bernhard Arp Sørensen" <michael at arpsorensen.dk> wrote

> How do I kill/shutdown a socket server running in its own thread 
> either from
> handle() or from outside of the tread? Any thing will do.

kill -9 pid

if you are on *nix?

Or do you need to do it from code? Or is it only the thread you want 
to kill?
Are you killing from inside the same process? Or from an external 
process?

Alan G 




More information about the Tutor mailing list