public override void Shutdown(TransportShutdownOption how) { if (how == TransportShutdownOption.Read) { this.socket.Shutdown(SocketShutdown.Receive); } else if (how == TransportShutdownOption.Write) { this.socket.Shutdown(SocketShutdown.Send); } else if (how == TransportShutdownOption.ReadWrite) { this.socket.Shutdown(SocketShutdown.Both); } }
public abstract void Shutdown(TransportShutdownOption how);
public override void Shutdown(TransportShutdownOption how) { this.innerTransport.Shutdown(how); }