public void DestroyManager() { Connections.Clear(); Connections = null; Listener = null; }
public TcpConnectionManager(string LocalIP, int Port, int maxConnections) { Connections = new Dictionary<uint, TcpConnection>(maxConnections); Listener = new TcpConnectionListener(LocalIP, Port, this); }