dimanche 25 janvier 2015

Write to socket after FIN exception handling


Vote count:

0




If client socket send FIN and server trying send data to this socket, server crashed. How to handle this error?


I have code like this:



client.write(data);


I must use process.on('uncaughtException') ?



asked 59 secs ago







Write to socket after FIN exception handling

Aucun commentaire:

Enregistrer un commentaire