2005-01-11 Dick Porter <dick@ximian.com>
[mono.git] / mono / io-layer / error.c
index b167c1e99992e33e549e7053af01679641f70917..7785fb0e55ccf1495dac12d77d57d15906b977fd 100644 (file)
@@ -115,6 +115,7 @@ errno_to_WSA (guint32 code, const gchar *function_name)
        case ESOCKTNOSUPPORT: result = WSAESOCKTNOSUPPORT; break;
        case ETIMEDOUT: result = WSAENETDOWN; break;
        case EWOULDBLOCK: result = WSAEWOULDBLOCK; break;
+       case EADDRNOTAVAIL: result = WSAEADDRNOTAVAIL; break;
        default:
                sys_error = strerror (code);
                msg = g_locale_to_utf8 (sys_error, strlen (sys_error), NULL, NULL, NULL);