Add EISCONN.
This commit is contained in:
parent
8427ee7a0f
commit
4eb06d9063
|
@ -58,6 +58,7 @@
|
||||||
#define ECONNABORTED 66
|
#define ECONNABORTED 66
|
||||||
#define ECONNRESET 67
|
#define ECONNRESET 67
|
||||||
#define EADDRNOTAVAIL 68
|
#define EADDRNOTAVAIL 68
|
||||||
|
#define EISCONN 69
|
||||||
|
|
||||||
#define EOPNOTSUPP ENOTSUP
|
#define EOPNOTSUPP ENOTSUP
|
||||||
|
|
||||||
|
|
|
@ -87,6 +87,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
||||||
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";
|
case EADDRNOTAVAIL: return "Address not available";
|
||||||
|
case EISCONN: return "Socket is connected";
|
||||||
default: return "Unknown error condition";
|
default: return "Unknown error condition";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue