3 writes to s_LoggingEnabled
System (3)
net\System\Net\Sockets\Socket.cs (3)
142s_LoggingEnabled = Logging.On; 171s_LoggingEnabled = Logging.On; 263s_LoggingEnabled = Logging.On;
201 references to s_LoggingEnabled
System (201)
net\System\Net\Sockets\Socket.cs (201)
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); 1257if (s_LoggingEnabled) { 1307if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "Send", ""); 1376if(s_LoggingEnabled){ 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", ""); 1567if(s_LoggingEnabled){ 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", ""); 1790if(s_LoggingEnabled){ 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", ""); 1911if(s_LoggingEnabled){ 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); 3341if (s_LoggingEnabled) 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); 3867if(s_LoggingEnabled){ 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); 4519if(s_LoggingEnabled){ 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); 5529if (s_LoggingEnabled) { 5558if(s_LoggingEnabled)Logging.Enter(Logging.Sockets, this, "EndAccept", asyncResult); 5601if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "EndAccept", socketException); 5613if (s_LoggingEnabled) { 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); 6165if (s_LoggingEnabled) 6181if (s_LoggingEnabled) Logging.Enter(Logging.Sockets, this, "Connect", endPointSnapshot); 6210if(s_LoggingEnabled)Logging.Exception(Logging.Sockets, this, "Connect", socketException); 6227if (s_LoggingEnabled) { 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);