Poderosa.PortForwarding.Channel.OnEOF C# (CSharp) Method

OnEOF() public method

public OnEOF ( ) : void
return void
        public override void OnEOF()
        {
            Debug.WriteLine(String.Format("OnChannelEOF ch={0}", _channel.LocalChannelID));
            try {
                Env.Log.LogChannelClosed(_remoteDescription, _connectionID);
                _socket.ShutdownSend();
            }
            catch (Exception ex) {
                Debug.WriteLine(ex.Message);
                Debug.WriteLine(ex.StackTrace);
            }
        }