bad code
adding sigterm function
adding Connection to close sockets
rename daemon.c to daemon.cpp
adding setSigConnection
addin include
adding sigterm output
adding signal handler