예제 #1
0
 public void Close()
 {
     Debug.Assert(_fd != null);
     try
     {
         Network.CloseSocket(_fd);
     }
     finally
     {
         _fd = null;
     }
 }
예제 #2
0
 public void Close()
 {
     Debug.Assert(_fd != null);
     Network.CloseSocket(_fd);
 }