Gwupe.Communication.P2P.RUDP.Tunnel.Transport.TCPTransport.StopListen C# (CSharp) Method

StopListen() public method

public StopListen ( string endPoint ) : void
endPoint string
return void
        public void StopListen(string endPoint)
        {
            Logger.Debug("Stopping listening on " + endPoint);
            lock (_listeningNamedTCPEndPoints)
            {
                if (_listeningNamedTCPEndPoints.ContainsKey(endPoint))
                {
                    _listeningNamedTCPEndPoints.Remove(endPoint);
                }
                else
                {
                    Logger.Warn("Attempted to stop listening on " + endPoint + ", but it doesn't exist");
                }
            }
        }