>> will there be any changes to the socket credentials so that the further
>> requests cannot be handled at all and there is a need to restart the
>> server or there is no need to restart the server such that the socket
>> credentials has not been changed after ECONNABORTED error?
Depends on various constraints.
1. If the connection hasn't been established yet, i.e., if it is the very first request from the client and if the client closes the connection even before the server got a chance to respond, accept() call at server results in ECONNABORTED. Server should ignore this error and move on with the next request in the queue.
If the client needs to connect to the server again, it has to do another connect().
2. If the connection between client and server is in ESTABLISHED state, and if the client closes the connection abruptly, accept() call at server results in ECONNABORTED. In this scenario, the server must close the connection that is half-open. Otherwise those half-opened sockets may remain in CLOSE_WAIT state, as long as the server process is active. Have a look at this web page: http://technopark02.blogspot.com/200...closewait.html
, to know more about CLOSE_WAIT and its impact, in a slightly different scenario.
So, under any circumstances the server need not be restarted if there are some problems at the client end.