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