diff options
author | tradke <tradke@bfcf8e34-485d-4d46-a995-1fd6fa6fb178> | 2002-04-22 13:13:13 +0000 |
---|---|---|
committer | tradke <tradke@bfcf8e34-485d-4d46-a995-1fd6fa6fb178> | 2002-04-22 13:13:13 +0000 |
commit | d216274f9eb26921d18c5697c6bb01dc880491ea (patch) | |
tree | d512489c86d9d2158f83c9110489c9de3fa011ca | |
parent | cc6c9241fc14fc481b0ceb27ea422ebfdd33a7f5 (diff) |
Catch 'Connection reset by peer' socket error codes.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IsoSurfacer/trunk@58 bfcf8e34-485d-4d46-a995-1fd6fa6fb178
-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. */ |