Exemple #1
0
        }         // proc Dispose

        #endregion

        #region -- Create Connection ------------------------------------------------------

        private Stream CreateConnection(Socket sNew)
        {
            var c = new ConnectionTcp(this, sNew);

            connections.Add(c);
            return(c);
        }         // func CreateConnection
Exemple #2
0
        }         // func CreateConnection

        private void RemoveConnection(ConnectionTcp connection)
        {
            connections.Remove(connection);
        }         // proc RemoveConnection