예제 #1
0
 public void EnableNoneBlock(bool v)
 {
     //lock (Socket_)
     //{
     Socket_.SetSocketOption(System.Net.Sockets.SocketOptionLevel.Tcp, System.Net.Sockets.SocketOptionName.NoDelay, v);
     //}
 }
예제 #2
0
 public void EnableDebug(bool v)
 {
     //lock (Socket_)
     //{
     Socket_.SetSocketOption(System.Net.Sockets.SocketOptionLevel.Tcp, System.Net.Sockets.SocketOptionName.Debug, v);
     //}
 }