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