39 references to GetSocketErrorForErrorCode
System.Net.Sockets (39)
System\Net\Sockets\SafeSocketHandle.Unix.cs (7)
232
return SocketPal.
GetSocketErrorForErrorCode
(CloseHandle(handle));
237
return SocketPal.
GetSocketErrorForErrorCode
(CloseHandle(handle));
251
return SocketPal.
GetSocketErrorForErrorCode
(errorCode);
259
return SocketPal.
GetSocketErrorForErrorCode
(CloseHandle(handle));
274
_closeSocketLinger = SocketPal.
GetSocketErrorForErrorCode
(errorCode);
290
return SocketPal.
GetSocketErrorForErrorCode
(errorCode);
320
_closeSocketResult = SocketPal.
GetSocketErrorForErrorCode
(errorCode);
System\Net\Sockets\SocketAsyncContext.Unix.cs (1)
1363
throw new SocketException((int)SocketPal.
GetSocketErrorForErrorCode
(Interop.Sys.GetLastError()));
System\Net\Sockets\SocketPal.Unix.cs (31)
83
errorCode =
GetSocketErrorForErrorCode
(error);
91
errorCode =
GetSocketErrorForErrorCode
(error);
661
errorCode =
GetSocketErrorForErrorCode
(errno);
705
errorCode =
GetSocketErrorForErrorCode
(err);
763
errorCode =
GetSocketErrorForErrorCode
(socketError);
816
errorCode =
GetSocketErrorForErrorCode
(errno);
885
errorCode =
GetSocketErrorForErrorCode
(errno);
930
errorCode =
GetSocketErrorForErrorCode
(errno);
1003
errorCode =
GetSocketErrorForErrorCode
(errno);
1058
errorCode =
GetSocketErrorForErrorCode
(errno);
1086
return err == Interop.Error.SUCCESS ? SocketError.Success :
GetSocketErrorForErrorCode
(err);
1095
return err == Interop.Error.SUCCESS ? SocketError.Success :
GetSocketErrorForErrorCode
(err);
1104
return err == Interop.Error.SUCCESS ? SocketError.Success :
GetSocketErrorForErrorCode
(err);
1117
return err == Interop.Error.SUCCESS ? SocketError.Success :
GetSocketErrorForErrorCode
(err);
1124
return err == Interop.Error.SUCCESS ? SocketError.Success :
GetSocketErrorForErrorCode
(err);
1130
return err == Interop.Error.SUCCESS ? SocketError.Success :
GetSocketErrorForErrorCode
(err);
1428
return
GetSocketErrorForErrorCode
(err);
1528
return
GetSocketErrorForErrorCode
(err);
1620
optionValue = (int)
GetSocketErrorForErrorCode
(socketError);
1621
return getErrorError == Interop.Error.SUCCESS ? SocketError.Success :
GetSocketErrorForErrorCode
(getErrorError);
1640
return err == Interop.Error.SUCCESS ? SocketError.Success :
GetSocketErrorForErrorCode
(err);
1681
return
GetSocketErrorForErrorCode
(err);
1699
return
GetSocketErrorForErrorCode
(err);
1716
return
GetSocketErrorForErrorCode
(err);
1741
return
GetSocketErrorForErrorCode
(err);
1755
return
GetSocketErrorForErrorCode
(err);
1779
return
GetSocketErrorForErrorCode
(err);
1854
return
GetSocketErrorForErrorCode
(err);
1959
return
GetSocketErrorForErrorCode
(err);
2067
return
GetSocketErrorForErrorCode
(err);
2180
throw new SocketException((int)
GetSocketErrorForErrorCode
(err));