Add sys_net error for EISCONN

This commit is contained in:
RipleyTom 2020-10-09 02:55:26 +02:00 committed by Ivan
parent 073772a801
commit e9914f3004

View File

@ -205,6 +205,7 @@ static sys_net_error get_last_error(bool is_blocking, int native_error = 0)
ERROR_CASE(ENOTCONN);
ERROR_CASE(ECONNRESET);
ERROR_CASE(EADDRINUSE);
ERROR_CASE(EISCONN);
default: sys_net.error("Unknown/illegal socket error: %d", native_error);
}