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