--- a/ddos/server.c +++ b/ddos/server.c @@ -100,6 +100,6 @@ printf ("Starting LINK [%04d] %04d\n", pid, links++); } } - close (server_socket); - return 0; + + return close (server_socket); }