Beispiel #1
0
 public override void Dispose()
 {
     if (!this.ActsAsServer)
     {
         return; // NO-OP for client sockets.
     }
     this.Disconnect(false);
     UnderlyingSocket.Dispose();
 }
Beispiel #2
0
 public override void Dispose() => UnderlyingSocket.Dispose();
 public void Dispose()
 {
     UnderlyingSocket.Dispose();
 }