Add EADDRNOTAVAIL.
This commit is contained in:
parent
5e9bd04cc7
commit
8427ee7a0f
|
@ -57,6 +57,7 @@
|
||||||
#define ESHUTDOWN 65
|
#define ESHUTDOWN 65
|
||||||
#define ECONNABORTED 66
|
#define ECONNABORTED 66
|
||||||
#define ECONNRESET 67
|
#define ECONNRESET 67
|
||||||
|
#define EADDRNOTAVAIL 68
|
||||||
|
|
||||||
#define EOPNOTSUPP ENOTSUP
|
#define EOPNOTSUPP ENOTSUP
|
||||||
|
|
||||||
|
|
|
@ -86,6 +86,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
||||||
case ESHUTDOWN: return "Cannot send after transport endpoint shutdown";
|
case ESHUTDOWN: return "Cannot send after transport endpoint shutdown";
|
||||||
case ECONNABORTED: return "Connection aborted";
|
case ECONNABORTED: return "Connection aborted";
|
||||||
case ECONNRESET: return "Connection reset";
|
case ECONNRESET: return "Connection reset";
|
||||||
|
case EADDRNOTAVAIL: return "Address not available";
|
||||||
default: return "Unknown error condition";
|
default: return "Unknown error condition";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue