|
|
@ -109,6 +109,8 @@ Errno TranslateNativeError(int e) {
|
|
|
|
return Errno::AGAIN;
|
|
|
|
return Errno::AGAIN;
|
|
|
|
case WSAECONNREFUSED:
|
|
|
|
case WSAECONNREFUSED:
|
|
|
|
return Errno::CONNREFUSED;
|
|
|
|
return Errno::CONNREFUSED;
|
|
|
|
|
|
|
|
case WSAECONNRESET:
|
|
|
|
|
|
|
|
return Errno::CONNRESET;
|
|
|
|
case WSAEHOSTUNREACH:
|
|
|
|
case WSAEHOSTUNREACH:
|
|
|
|
return Errno::HOSTUNREACH;
|
|
|
|
return Errno::HOSTUNREACH;
|
|
|
|
case WSAENETDOWN:
|
|
|
|
case WSAENETDOWN:
|
|
|
@ -205,6 +207,8 @@ Errno TranslateNativeError(int e) {
|
|
|
|
return Errno::AGAIN;
|
|
|
|
return Errno::AGAIN;
|
|
|
|
case ECONNREFUSED:
|
|
|
|
case ECONNREFUSED:
|
|
|
|
return Errno::CONNREFUSED;
|
|
|
|
return Errno::CONNREFUSED;
|
|
|
|
|
|
|
|
case ECONNRESET:
|
|
|
|
|
|
|
|
return Errno::CONNRESET;
|
|
|
|
case EHOSTUNREACH:
|
|
|
|
case EHOSTUNREACH:
|
|
|
|
return Errno::HOSTUNREACH;
|
|
|
|
return Errno::HOSTUNREACH;
|
|
|
|
case ENETDOWN:
|
|
|
|
case ENETDOWN:
|
|
|
|