diff options
-rw-r--r-- | src/Sockets.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Sockets.c b/src/Sockets.c index c319e3d..7b3a7f1 100644 --- a/src/Sockets.c +++ b/src/Sockets.c @@ -592,6 +592,9 @@ int Iso_Write(isoSocket *connection, const char *buffer, size_t count) #ifdef ENOTSOCK case ENOTSOCK : /* The filedescriptor is not a socket. */ #endif +#ifdef ECONNRESET + case ECONNRESET : /* Connection reset by peer */ +#endif case EPIPE : /* The local end has been shut down on a connection oriented socket. In this case the process will also * receive a SIGPIPE unless MSG_NOSIGNAL is set. */ |