53 references to SocketError
System (52)
net\System\Net\_SafeNetHandles.cs (7)
2591
if (errorCode == SocketError.
SocketError
) errorCode = (SocketError) Marshal.GetLastWin32Error();
2607
if (errorCode == SocketError.
SocketError
) errorCode = (SocketError) Marshal.GetLastWin32Error();
2617
GlobalLog.Print("SafeCloseSocket::ReleaseHandle(handle:" + handle.ToString("x") + ") WSAEventSelect():" + (errorCode == SocketError.
SocketError
? (SocketError)Marshal.GetLastWin32Error() : errorCode).ToString());
2624
GlobalLog.Print("SafeCloseSocket::ReleaseHandle(handle:" + handle.ToString("x") + ") ioctlsocket#2():" + (errorCode == SocketError.
SocketError
? (SocketError)Marshal.GetLastWin32Error() : errorCode).ToString());
2635
if (errorCode == SocketError.
SocketError
) errorCode = (SocketError) Marshal.GetLastWin32Error();
2662
if (errorCode == SocketError.
SocketError
) errorCode = (SocketError) Marshal.GetLastWin32Error();
2676
GlobalLog.Print("SafeCloseSocket::ReleaseHandle(handle:" + handle.ToString("x") + ") closesocket#3():" + (errorCode == SocketError.
SocketError
? (SocketError)Marshal.GetLastWin32Error() : errorCode).ToString());
net\System\Net\Sockets\_AcceptOverlappedAsyncResult.cs (1)
89
if (errorCode == SocketError.
SocketError
) errorCode = (SocketError) Marshal.GetLastWin32Error();
net\System\Net\Sockets\_ConnectOverlappedAsyncResult.cs (1)
47
if (errorCode == SocketError.
SocketError
) errorCode = (SocketError) Marshal.GetLastWin32Error();
net\System\Net\Sockets\Socket.cs (43)
364
if (errorCode==SocketError.
SocketError
) {
1352
if ((SocketError)errorCode==SocketError.
SocketError
) {
1561
if ((SocketError)bytesTransferred==SocketError.
SocketError
) {
1658
if ((SocketError)bytesTransferred==SocketError.
SocketError
) {
1784
if ((SocketError)bytesTransferred==SocketError.
SocketError
) {
1888
if ((SocketError)errorCode==SocketError.
SocketError
) {
2009
IntPtr.Zero) == SocketError.
SocketError
)
2111
if ((SocketError) bytesTransferred == SocketError.
SocketError
)
2213
if (errorCode==SocketError.
SocketError
) {
2266
if (errorCode==SocketError.
SocketError
) {
2335
if (errorCode==SocketError.
SocketError
) {
2444
if (errorCode==SocketError.
SocketError
) {
2482
if (errorCode==SocketError.
SocketError
) {
2518
if (errorCode==SocketError.
SocketError
) {
2580
if ((SocketError)socketCount==SocketError.
SocketError
) {
2658
if ((SocketError)socketCount==SocketError.
SocketError
) {
3509
SocketError errorCode = SocketError.
SocketError
;
3634
SocketError errorCode = SocketError.
SocketError
;
3746
SocketError errorCode = SocketError.
SocketError
;
4014
SocketError errorCode = SocketError.
SocketError
;
4260
SocketError errorCode = SocketError.
SocketError
;
4376
SocketError errorCode = SocketError.
SocketError
;
4573
SocketError errorCode = SocketError.
SocketError
;
4832
SocketError errorCode = SocketError.
SocketError
;
5645
errorCode = errorCode!=SocketError.
SocketError
? SocketError.Success : (SocketError)Marshal.GetLastWin32Error();
6316
GlobalLog.Print("SafeCloseSocket::Dispose(handle:" + m_Handle.DangerousGetHandle().ToString("x") + ") ioctlsocket(FIONBIO):" + (errorCode == SocketError.
SocketError
? (SocketError) Marshal.GetLastWin32Error() : errorCode).ToString());
6329
GlobalLog.Print("SafeCloseSocket::Dispose(handle:" + m_Handle.DangerousGetHandle().ToString("x") + ") shutdown():" + (errorCode == SocketError.
SocketError
? (SocketError) Marshal.GetLastWin32Error() : errorCode).ToString());
6338
GlobalLog.Print("SafeCloseSocket::Dispose(handle:" + m_Handle.DangerousGetHandle().ToString("x") + ") setsockopt():" + (errorCode == SocketError.
SocketError
? (SocketError) Marshal.GetLastWin32Error() : errorCode).ToString());
6365
GlobalLog.Print("SafeCloseSocket::Dispose(handle:" + m_Handle.DangerousGetHandle().ToString("x") + ") ioctlsocket(FIONREAD):" + (errorCode == SocketError.
SocketError
? (SocketError) Marshal.GetLastWin32Error() : errorCode).ToString());
6508
if (errorCode==SocketError.
SocketError
) {
6562
if (errorCode==SocketError.
SocketError
) {
6600
if (errorCode==SocketError.
SocketError
) {
6631
if (errorCode==SocketError.
SocketError
) {
6659
if (errorCode==SocketError.
SocketError
) {
6690
if (errorCode==SocketError.
SocketError
) {
6743
if (errorCode==SocketError.
SocketError
) {
6782
if (errorCode == SocketError.
SocketError
)
7226
SocketError errorCode = SocketError.
SocketError
;
7491
if (errorCode == SocketError.
SocketError
)
7566
if (errorCode==SocketError.
SocketError
) {
8934
m_SocketError = SocketError.
SocketError
;
9837
if(socketError == SocketError.
SocketError
) {
9872
if(socketError == SocketError.
SocketError
) {
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpUtility.cs (1)
518
error = SocketError.
SocketError
;