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