320 references to Sockets
System (320)
net\System\Net\DNS.cs (40)
209
if(Logging.On)Logging.Enter(Logging.
Sockets
, "DNS", "GetHostByName", hostName);
262
if(Logging.On)Logging.Exit(Logging.
Sockets
, "DNS", "GetHostByName", ipHostEntry);
271
if(Logging.On)Logging.Exit(Logging.
Sockets
, "DNS", "GetHostByName", ipHostEntry);
295
if(Logging.On)Logging.Enter(Logging.
Sockets
, "DNS", "GetHostByAddress", address);
308
if(Logging.On)Logging.Exit(Logging.
Sockets
, "DNS", "GetHostByAddress", ipHostEntry);
329
if(Logging.On)Logging.Enter(Logging.
Sockets
, "DNS", "GetHostByAddress", "");
340
if(Logging.On)Logging.Exit(Logging.
Sockets
, "DNS", "GetHostByAddress", ipHostEntry);
374
if (Logging.On) Logging.Exception(Logging.
Sockets
, "DNS",
425
if (Logging.On) Logging.Exception(Logging.
Sockets
, "DNS", "InternalGetHostByAddress", exception);
498
if(Logging.On)Logging.Enter(Logging.
Sockets
, "DNS", "Resolve", hostName);
523
if (Logging.On) Logging.PrintWarning(Logging.
Sockets
, "DNS", "DNS.Resolve", ex.Message);
533
if (Logging.On) Logging.Exit(Logging.
Sockets
, "DNS", "Resolve", ipHostEntry);
555
if (Logging.On) Logging.Enter(Logging.
Sockets
, "DNS", "TryInternalResolve", hostName);
825
if(Logging.On)Logging.Enter(Logging.
Sockets
, "DNS", "BeginGetHostByName", hostName);
829
if(Logging.On)Logging.Exit(Logging.
Sockets
, "DNS", "BeginGetHostByName", asyncResult);
840
if(Logging.On)Logging.Enter(Logging.
Sockets
, "DNS", "EndGetHostByName", asyncResult);
844
if(Logging.On)Logging.Exit(Logging.
Sockets
, "DNS", "EndGetHostByName", ipHostEntry);
857
if(Logging.On)Logging.Enter(Logging.
Sockets
, "DNS", "GetHostEntry", hostNameOrAddress);
884
if (Logging.On) Logging.Exit(Logging.
Sockets
, "DNS", "GetHostEntry", ipHostEntry);
890
if(Logging.On)Logging.Enter(Logging.
Sockets
, "DNS", "GetHostEntry", "");
907
if(Logging.On)Logging.Exit(Logging.
Sockets
, "DNS", "GetHostEntry", ipHostEntry);
914
if(Logging.On)Logging.Enter(Logging.
Sockets
, "DNS", "GetHostAddresses", hostNameOrAddress);
942
if(Logging.On)Logging.Exit(Logging.
Sockets
, "DNS", "GetHostAddresses", addresses);
949
if(Logging.On)Logging.Enter(Logging.
Sockets
, "DNS", "BeginGetHostEntry", hostNameOrAddress);
953
if(Logging.On)Logging.Exit(Logging.
Sockets
, "DNS", "BeginGetHostEntry", asyncResult);
961
if(Logging.On)Logging.Enter(Logging.
Sockets
, "DNS", "BeginGetHostEntry", address);
965
if(Logging.On)Logging.Exit(Logging.
Sockets
, "DNS", "BeginGetHostEntry", asyncResult);
971
if(Logging.On)Logging.Enter(Logging.
Sockets
, "DNS", "EndGetHostEntry", asyncResult);
975
if(Logging.On)Logging.Exit(Logging.
Sockets
, "DNS", "EndGetHostEntry", ipHostEntry);
982
if(Logging.On)Logging.Enter(Logging.
Sockets
, "DNS", "BeginGetHostAddresses", hostNameOrAddress);
986
if(Logging.On)Logging.Exit(Logging.
Sockets
, "DNS", "BeginGetHostAddresses", asyncResult);
992
if(Logging.On)Logging.Enter(Logging.
Sockets
, "DNS", "EndGetHostAddresses", asyncResult);
996
if(Logging.On)Logging.Exit(Logging.
Sockets
, "DNS", "EndGetHostAddresses", ipHostEntry);
1003
if(Logging.On)Logging.Enter(Logging.
Sockets
, "DNS", "UnsafeBeginGetHostAddresses", hostName);
1007
if(Logging.On)Logging.Exit(Logging.
Sockets
, "DNS", "UnsafeBeginGetHostAddresses", asyncResult);
1019
if(Logging.On)Logging.Enter(Logging.
Sockets
, "DNS", "BeginResolve", hostName);
1023
if(Logging.On)Logging.Exit(Logging.
Sockets
, "DNS", "BeginResolve", asyncResult);
1031
if(Logging.On)Logging.Enter(Logging.
Sockets
, "DNS", "EndResolve", asyncResult);
1045
if (Logging.On) Logging.PrintWarning(Logging.
Sockets
, "DNS", "DNS.EndResolve", ex.Message);
1050
if(Logging.On)Logging.Exit(Logging.
Sockets
, "DNS", "EndResolve", ipHostEntry);
net\System\Net\Sockets\_AcceptOverlappedAsyncResult.cs (2)
143
Logging.Dump(Logging.
Sockets
, m_ListenSocket, "PostCompletion", pinnedBuffer, (int)Math.Min(size, (long)m_Buffer.Length));
146
Logging.Dump(Logging.
Sockets
, m_ListenSocket, "PostCompletion", pinnedBuffer, (int)m_Buffer.Length);
net\System\Net\Sockets\_OverlappedAsyncResult.cs (2)
194
Logging.Dump(Logging.
Sockets
, AsyncObject, "PostCompletion", wsaBuffer.Pointer, Math.Min(wsaBuffer.Length, size));
200
Logging.Dump(Logging.
Sockets
, AsyncObject, "PostCompletion", m_SingleBuffer.Pointer, Math.Min(m_SingleBuffer.Length, size));
net\System\Net\Sockets\_ReceiveMessageOverlappedAsyncResult.cs (1)
197
Logging.Dump(Logging.
Sockets
, AsyncObject, "PostCompletion", m_WSABuffer->Pointer, Math.Min(m_WSABuffer->Length, size));
net\System\Net\Sockets\Socket.cs (219)
143
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "Socket", addressFamily);
166
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "Socket", null);
172
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "Socket", addressFamily);
252
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "Socket", null);
264
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "Socket", null);
285
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "Socket", null);
370
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "Available", socketException);
419
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "LocalEndPoint", socketException);
466
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "RemoteEndPoint", socketException);
529
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "Blocking", socketException);
848
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "Bind", localEP);
911
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "Bind", "");
916
if (s_LoggingEnabled) Logging.Enter(Logging.
Sockets
, this, "InternalBind", localEP);
934
if (s_LoggingEnabled) Logging.Exit(Logging.
Sockets
, this, "InternalBind", "");
945
if (s_LoggingEnabled) Logging.Exception(Logging.
Sockets
, this, "DoBind", socketException);
973
if (s_LoggingEnabled) Logging.Exception(Logging.
Sockets
, this, "DoBind", socketException);
1041
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "Connect", address);
1060
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "Connect", null);
1065
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "Connect", host);
1082
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "Connect", null);
1086
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "Connect", addresses);
1129
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "Connect", null);
1141
if (s_LoggingEnabled) Logging.Enter(Logging.
Sockets
, this, "Close", null);
1143
if (s_LoggingEnabled) Logging.Exit(Logging.
Sockets
, this, "Close", null);
1164
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "Listen", backlog);
1196
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "Listen", socketException);
1200
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "Listen", "");
1210
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "Accept", "");
1252
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "Accept", socketException);
1258
Logging.PrintInfo(Logging.
Sockets
, socket, SR.GetString(SR.net_log_socket_accepted, socket.RemoteEndPoint, socket.LocalEndPoint));
1259
Logging.Exit(Logging.
Sockets
, this, "Accept", socket);
1307
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "Send", "");
1377
Logging.Exception(Logging.
Sockets
, this, "Send", new SocketException(errorCode));
1378
Logging.Exit(Logging.
Sockets
, this, "Send", 0);
1394
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "Send", bytesTransferred);
1420
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "SendFile", "");
1485
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "SendFile", socketException);
1494
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "SendFile", errorCode);
1519
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "Send", "");
1568
Logging.Exception(Logging.
Sockets
, this, "Send", new SocketException(errorCode));
1569
Logging.Exit(Logging.
Sockets
, this, "Send", 0);
1588
if(s_LoggingEnabled)Logging.Dump(Logging.
Sockets
, this, "Send", buffer, offset, size);
1589
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "Send", bytesTransferred);
1599
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "SendTo", "");
1664
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "SendTo", socketException);
1689
if(s_LoggingEnabled)Logging.Dump(Logging.
Sockets
, this, "SendTo", buffer, offset, size);
1690
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "SendTo", bytesTransferred);
1749
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "Receive", "");
1791
Logging.Exception(Logging.
Sockets
, this, "Receive", new SocketException(errorCode));
1792
Logging.Exit(Logging.
Sockets
, this, "Receive", 0);
1820
if(s_LoggingEnabled)Logging.Dump(Logging.
Sockets
, this, "Receive", buffer, offset, bytesTransferred);
1821
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "Receive", bytesTransferred);
1842
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "Receive", "");
1912
Logging.Exception(Logging.
Sockets
, this, "Receive", new SocketException(errorCode));
1913
Logging.Exit(Logging.
Sockets
, this, "Receive", 0);
1942
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "Receive", bytesTransferred);
1955
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "ReceiveMessageFrom", "");
2028
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "ReceiveMessageFrom", socketException);
2051
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "ReceiveMessageFrom", errorCode);
2060
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "ReceiveFrom", "");
2115
if (s_LoggingEnabled) Logging.Exception(Logging.
Sockets
, this, "ReceiveFrom", socketException);
2154
if(s_LoggingEnabled)Logging.Dump(Logging.
Sockets
, this, "ReceiveFrom", buffer, offset, size);
2155
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "ReceiveFrom", bytesTransferred);
2219
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "IOControl", socketException);
2272
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "IOControl", socketException);
2341
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "SetSocketOption", socketException);
2450
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "GetSocketOption", socketException);
2488
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "GetSocketOption", socketException);
2524
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "GetSocketOption", socketException);
2586
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "Poll", socketException);
2727
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "BeginConnect", remoteEP);
2779
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "BeginConnect", asyncResult);
2793
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "DuplicateAndClose", null);
2819
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "DuplicateAndClose", socketException);
2833
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "DuplicateAndClose", null);
2940
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "BeginConnect", socketException);
3079
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "BeginConnect", host);
3109
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "BeginConnect", result);
3121
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "BeginConnect", address);
3139
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "BeginConnect", result);
3146
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "BeginConnect", addresses);
3189
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "BeginConnect", result);
3218
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "BeginDisconnect",null);
3257
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
,this,"BeginDisconnect", socketException);
3262
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "BeginDisconnect", asyncResult);
3269
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "Disconnect",null);
3298
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
,this,"Disconnect", socketException);
3305
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "Disconnect", null);
3329
if (s_LoggingEnabled) Logging.Enter(Logging.
Sockets
, this, "EndConnect", asyncResult);
3343
Logging.Exit(Logging.
Sockets
, this, "EndConnect", "");
3349
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "EndDisconnect", asyncResult);
3389
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
,this,"EndDisconnect", socketException);
3393
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "EndDisconnect", null);
3439
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "BeginSend", "");
3477
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "BeginSend", asyncResult);
3484
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "UnsafeBeginSend", "");
3498
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "UnsafeBeginSend", asyncResult);
3550
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "BeginSend", new SocketException(errorCode));
3594
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "BeginSendFile", "");
3672
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "BeginSendFile", socketException);
3678
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "BeginSendFile", errorCode);
3703
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "BeginSend", "");
3735
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "BeginSend", asyncResult);
3784
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "BeginSend", new SocketException(errorCode));
3822
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "EndSend", asyncResult);
3868
Logging.Exception(Logging.
Sockets
, this, "EndSend", new SocketException(errorCode));
3869
Logging.Exit(Logging.
Sockets
, this, "EndSend", 0);
3873
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "EndSend", bytesTransferred);
3883
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "EndSendFile", asyncResult);
3927
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "EndSendFile", socketException);
3930
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "EndSendFile","");
3967
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "BeginSendTo", "");
4003
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "BeginSendTo", asyncResult);
4065
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "BeginSendTo", socketException);
4092
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "EndSendTo", asyncResult);
4138
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "EndSendTo", socketException);
4141
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "EndSendTo", bytesTransferred);
4194
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "BeginReceive", "");
4230
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "BeginReceive", asyncResult);
4237
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "UnsafeBeginReceive", "");
4247
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "UnsafeBeginReceive", asyncResult);
4299
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "BeginReceive", new SocketException(errorCode));
4331
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "BeginReceive", "");
4365
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "BeginReceive", asyncResult);
4415
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "BeginReceive", new SocketException(errorCode));
4467
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "EndReceive", asyncResult);
4520
Logging.Exception(Logging.
Sockets
, this, "EndReceive", new SocketException(errorCode));
4521
Logging.Exit(Logging.
Sockets
, this, "EndReceive", 0);
4525
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "EndReceive", bytesTransferred);
4532
if (s_LoggingEnabled) Logging.Enter(Logging.
Sockets
, this, "BeginReceiveMessageFrom", "");
4636
if (s_LoggingEnabled) Logging.Exception(Logging.
Sockets
, this, "BeginReceiveMessageFrom", socketException);
4652
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "BeginReceiveMessageFrom", asyncResult);
4658
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "EndReceiveMessageFrom", asyncResult);
4721
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "EndReceiveMessageFrom", socketException);
4728
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "EndReceiveMessageFrom", bytesTransferred);
4769
if (s_LoggingEnabled) Logging.Enter(Logging.
Sockets
, this, "BeginReceiveFrom", "");
4821
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "BeginReceiveFrom", asyncResult);
4885
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "BeginReceiveFrom", socketException);
4915
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "EndReceiveFrom", asyncResult);
4981
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "EndReceiveFrom", socketException);
4984
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "EndReceiveFrom", bytesTransferred);
5024
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "BeginAccept", "");
5039
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "BeginAccept", asyncResult);
5152
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "BeginAccept", socketException);
5352
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "BeginAccept", "");
5374
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "BeginAccept", asyncResult);
5441
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "BeginAccept", socketException);
5474
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "EndAccept", asyncResult);
5523
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "EndAccept", socketException);
5530
Logging.PrintInfo(Logging.
Sockets
, acceptedSocket,
5532
Logging.Exit(Logging.
Sockets
, this, "EndAccept", result);
5558
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "EndAccept", asyncResult);
5601
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "EndAccept", socketException);
5614
Logging.PrintInfo(Logging.
Sockets
, socket, SR.GetString(SR.net_log_socket_accepted, socket.RemoteEndPoint, socket.LocalEndPoint));
5615
Logging.Exit(Logging.
Sockets
, this, "EndAccept", socket);
5632
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "Shutdown", how);
5658
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "Shutdown", socketException );
5664
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "Shutdown", "");
6071
if (s_LoggingEnabled) Logging.Enter(Logging.
Sockets
, this, "InternalBeginConnectHostName", host);
6089
if (s_LoggingEnabled) Logging.Exit(Logging.
Sockets
, this, "InternalBeginConnectHostName", result);
6095
if (s_LoggingEnabled) Logging.Enter(Logging.
Sockets
, this, "InternalEndConnect", asyncResult);
6154
if (s_LoggingEnabled) Logging.Exception(Logging.
Sockets
, this, "InternalEndConnect", (Exception)castedAsyncResult.Result);
6162
if (s_LoggingEnabled) Logging.Exception(Logging.
Sockets
, this, "InternalEndConnect", socketException);
6167
Logging.PrintInfo(Logging.
Sockets
, this, SR.GetString(SR.net_log_socket_connected, LocalEndPoint, RemoteEndPoint));
6168
Logging.Exit(Logging.
Sockets
, this, "InternalEndConnect", "");
6181
if (s_LoggingEnabled) Logging.Enter(Logging.
Sockets
, this, "Connect", endPointSnapshot);
6210
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "Connect", socketException);
6228
Logging.PrintInfo(Logging.
Sockets
, this, SR.GetString(SR.net_log_socket_connected, LocalEndPoint, RemoteEndPoint));
6229
Logging.Exit(Logging.
Sockets
, this, "Connect", "");
6244
if (s_LoggingEnabled) Logging.Enter(Logging.
Sockets
, this, "Dispose", null);
6260
if (s_LoggingEnabled) Logging.Exit(Logging.
Sockets
, this, "Dispose", null);
6514
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "SetSocketOption", socketException);
6568
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "setMulticastOption", socketException);
6606
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "setIPv6MulticastOption", socketException);
6637
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "setLingerOption", socketException);
6665
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "getLingerOpt", socketException);
6696
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "getMulticastOpt", socketException);
6749
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "getIPv6MulticastOpt", socketException);
6878
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "BeginConnectEx", "");
6965
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "BeginConnectEx", socketException);
6974
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "BeginConnectEx", asyncResult);
6980
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "MultipleSend", "");
7027
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "MultipleSend", socketException);
7031
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "MultipleSend", "");
7214
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "BeginMultipleSend", "");
7265
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "BeginMultipleSend", socketException);
7268
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "BeginMultipleSend", asyncResult);
7272
if(s_LoggingEnabled)Logging.Enter(Logging.
Sockets
, this, "EndMultipleSend", asyncResult);
7311
if(s_LoggingEnabled)Logging.Exception(Logging.
Sockets
, this, "EndMultipleSend", socketException);
7314
if(s_LoggingEnabled)Logging.Exit(Logging.
Sockets
, this, "EndMultipleSend", bytesTransferred);
7436
if (s_LoggingEnabled) Logging.PrintError(Logging.
Sockets
, this, "UpdateStatusAfterSocketError", errorCode.ToString());
7682
if(s_LoggingEnabled) Logging.Enter(Logging.
Sockets
, this, "AcceptAsync", "");
7752
if(s_LoggingEnabled) Logging.Exit(Logging.
Sockets
, this, "AcceptAsync", retval);
7763
if(s_LoggingEnabled) Logging.Enter(Logging.
Sockets
, this, "ConnectAsync", "");
7790
if (s_LoggingEnabled) Logging.PrintInfo(Logging.
Sockets
, "Socket#" + ValidationHelper.HashString(this)
7863
if(s_LoggingEnabled) Logging.Exit(Logging.
Sockets
, this, "ConnectAsync", retval);
7871
if (s_LoggingEnabled) Logging.Enter(Logging.
Sockets
, null, "ConnectAsync", "");
7905
if (s_LoggingEnabled) Logging.Exit(Logging.
Sockets
, null, "ConnectAsync", retval);
7924
if(s_LoggingEnabled) Logging.Enter(Logging.
Sockets
, this, "DisconnectAsync", "");
7961
if(s_LoggingEnabled) Logging.Exit(Logging.
Sockets
, this, "DisconnectAsync", retval);
7973
if(s_LoggingEnabled) Logging.Enter(Logging.
Sockets
, this, "ReceiveAsync", "");
8034
if(s_LoggingEnabled) Logging.Exit(Logging.
Sockets
, this, "ReceiveAsync", retval);
8045
if(s_LoggingEnabled) Logging.Enter(Logging.
Sockets
, this, "ReceiveFromAsync", "");
8126
if(s_LoggingEnabled) Logging.Exit(Logging.
Sockets
, this, "ReceiveFromAsync", retval);
8137
if(s_LoggingEnabled) Logging.Enter(Logging.
Sockets
, this, "ReceiveMessageFromAsync", "");
8203
if(s_LoggingEnabled) Logging.Exit(Logging.
Sockets
, this, "ReceiveMessageFromAsync", retval);
8215
if(s_LoggingEnabled) Logging.Enter(Logging.
Sockets
, this, "SendAsync", "");
8276
if(s_LoggingEnabled) Logging.Enter(Logging.
Sockets
, this, "SendAsync", retval);
8288
if(s_LoggingEnabled) Logging.Enter(Logging.
Sockets
, this, "SendPacketsAsync", "");
8346
if(s_LoggingEnabled) Logging.Exit(Logging.
Sockets
, this, "SendPacketsAsync", retval);
8358
if(s_LoggingEnabled) Logging.Enter(Logging.
Sockets
, this, "SendToAsync", "");
8432
if(s_LoggingEnabled) Logging.Exit(Logging.
Sockets
, this, "SendToAsync", retval);
9677
Logging.Dump(Logging.
Sockets
, m_CurrentSocket, "FinishOperation(" + m_CompletedOperation + "Async)", m_AcceptBuffer, 0, size);
9680
Logging.Dump(Logging.
Sockets
, m_CurrentSocket, "FinishOperation(" + m_CompletedOperation + "Async)", m_Buffer, m_Offset, size);
9684
Logging.Dump(Logging.
Sockets
, m_CurrentSocket, "FinishOperation(" + m_CompletedOperation + "Async)", wsaBuffer.Pointer, Math.Min(wsaBuffer.Length, size));
9699
Logging.Dump(Logging.
Sockets
, m_CurrentSocket, "FinishOperation(" + m_CompletedOperation + "Async)Buffer", spe.m_Buffer, spe.m_Offset, Math.Min(spe.m_Count, size));
9702
Logging.PrintInfo(Logging.
Sockets
, m_CurrentSocket, "FinishOperation(" + m_CompletedOperation + "Async)", SR.GetString(SR.net_log_socket_not_logged_file, spe.m_FilePath));
9848
if (s_LoggingEnabled) Logging.PrintInfo(Logging.
Sockets
, m_AcceptSocket,
9882
if (s_LoggingEnabled) Logging.PrintInfo(Logging.
Sockets
, m_CurrentSocket,
net\System\Net\Sockets\TCPClient.cs (33)
38
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "TcpClient", localEP);
49
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "TcpClient", "");
62
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "TcpClient", null);
63
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "TcpClient", null);
76
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "TcpClient", family);
87
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "TcpClient", null);
96
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "TcpClient", hostname);
125
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "TcpClient", null);
132
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "TcpClient", acceptedSocket);
135
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "TcpClient", null);
186
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "Connect", hostname);
309
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "Connect", null);
318
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "Connect", address);
330
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "Connect", null);
339
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "Connect", remoteEP);
348
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "Connect", null);
355
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "Connect", ipAddresses);
358
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "Connect", null);
365
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "BeginConnect", host);
367
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "BeginConnect", null);
374
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "BeginConnect", address);
376
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "BeginConnect", null);
384
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "BeginConnect", addresses);
386
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "BeginConnect", null);
392
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "EndConnect", asyncResult);
395
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "EndConnect", null);
426
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "GetStream", "");
436
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "GetStream", m_DataStream);
447
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "Close", "");
450
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "Close", "");
456
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "Dispose", "");
458
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "Dispose", "");
492
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "Dispose", "");
net\System\Net\Sockets\TCPListener.cs (23)
34
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "TcpListener", localEP);
40
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "TcpListener", null);
50
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "TcpListener", localaddr);
59
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "TcpListener", null);
84
if (Logging.On) Logging.Enter(Logging.
Sockets
, "TcpListener.Create", "Port: " + port);
93
if (Logging.On) Logging.Exit(Logging.
Sockets
, "TcpListener.Create", "Port: " + port);
173
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "Start", null);
181
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "Start", null);
195
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "Start", null);
205
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "Stop", null);
219
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "Stop", null);
241
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "AcceptSocket", null);
245
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "AcceptSocket", socket);
254
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "AcceptTcpClient", null);
260
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "AcceptTcpClient", returnValue);
271
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "BeginAcceptSocket", null);
276
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "BeginAcceptSocket", null);
281
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "EndAcceptSocket", null);
298
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "EndAcceptSocket", socket);
305
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "BeginAcceptTcpClient", null);
309
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "BeginAcceptTcpClient", null);
314
if(Logging.On)Logging.Enter(Logging.
Sockets
, this, "EndAcceptTcpClient", null);
331
if(Logging.On)Logging.Exit(Logging.
Sockets
, this, "EndAcceptTcpClient", socket);