Server: catch CTRL-C and shutdown cleanly
crankycyclops opened this issue · comments
Catch both CTRL-C and the kill signal (are they the same?) in both POSIX and Windows (Windows will probably remain untested for a while.) Proceed to shut the server down cleanly.
See: http://stackoverflow.com/questions/1641182/how-can-i-catch-a-ctrl-c-event-c
Already done.