If I understand the code correctly, the server accepts one connection and if it somehow fails the server will terminate. I don't see a reason why... I think that it should log some info into log file but than it should restore the socket and keep listening. If the server runs as a daemon and it ends with the first bad socket operation thats not very useful I guess...
If I understand the code correctly, the server accepts one connection and if it somehow fails the server will terminate. I don't see a reason why... I think that it should log some info into log file but than it should restore the socket and keep listening. If the server runs as a daemon and it ends with the first bad socket operation thats not very useful I guess...