1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Add ECONNRESET.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-03-23 23:03:53 +01:00
parent 9e04af42a9
commit 3c4b4ace0c
2 changed files with 2 additions and 0 deletions

View file

@ -56,6 +56,7 @@
#define EALREADY 64
#define ESHUTDOWN 65
#define ECONNABORTED 66
#define ECONNRESET 67
#define EOPNOTSUPP ENOTSUP

View file

@ -85,6 +85,7 @@ extern "C" const char* sortix_strerror(int errnum)
case EALREADY: return "Connection already in progress";
case ESHUTDOWN: return "Cannot send after transport endpoint shutdown";
case ECONNABORTED: return "Connection aborted";
case ECONNRESET: return "Connection reset";
default: return "Unknown error condition";
}
}