fix indent
remove -lpthread option
fix indent
try ET mode and set nonblocking for serversock and clientsock
ignore SIGPIPE for closed client socket; set default port to 55555; setsocketopt to reuse port at TIME_WAIT state