Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mcs/class/System/ReferenceSources/Win32Exception.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1733,6 +1733,7 @@ internal static string GetErrorMessage (int error)
case 13882: /* ERROR_IPSEC_IKE_MM_LIMIT */ return "IPSEC IKE mm limit";
case 13883: /* ERROR_IPSEC_IKE_NEGOTIATION_DISABLED */ return "IPSEC IKE negotiation disabled";
case 13884: /* ERROR_IPSEC_IKE_NEG_STATUS_END */ return "IPSEC IKE neg status end";
case 100001: /* WSAENXIO */ return "Device not configured";
#endif // MOBILE
default:
return string.Format ("mono-io-layer-error ({0})", error);
Expand Down
1 change: 1 addition & 0 deletions mono/metadata/w32error.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
#define WSAEHOSTDOWN 10064
#define WSAEHOSTUNREACH 10065
#define WSASYSCALLFAILURE 10107
#define WSAENXIO 100001

#endif

Expand Down
3 changes: 3 additions & 0 deletions mono/metadata/w32socket-unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -1324,6 +1324,9 @@ mono_w32socket_convert_error (gint error)
case ENODEV: return WSAENETDOWN;
#ifdef EPROTOTYPE
case EPROTOTYPE: return WSAEPROTOTYPE;
#endif
#ifdef ENXIO
case ENXIO: return WSAENXIO;
#endif
default:
g_error ("%s: no translation into winsock error for (%d) \"%s\"", __func__, error, g_strerror (error));
Expand Down