Exemplo n.º 1
0
        public void DropConnection(uint clientID)
        {
            IonTcpConnection connection = GetConnection(clientID);

            if (connection != null)
            {
                Core.GetStandardOut().PrintNotice("Dropped Connection => " + connection.ipAddress);

                connection.Stop();
                mConnections.Remove(clientID);
            }
        }
Exemplo n.º 2
0
        public void DropConnection(uint clientID)
        {
            IonTcpConnection connection = GetConnection(clientID);

            if (connection != null)
            {
                IonEnvironment.GetLog().WriteInformation("Dropped IonTcpConnection [" + clientID + "] of " + connection.ipAddress);

                connection.Stop();
                mConnections.Remove(clientID);
            }
        }