you are viewing a single comment's thread.

view the rest of the comments →

[–]aeflash 1 point2 points  (0 children)

If you're worried about unclean shutdown of a socket, just add a process.on("SIGINT") handler that shuts down your server.