internal bool AddConnection(ClientConnectionBase connection) { lock (_connectionLock) { return(_addressTally.AddTally(connection.GetIPAddress(), connection) && _connections.Add(connection)); } }
internal void AddConnection(ClientConnectionBase connection) { lock (_connectionLock) { var unused = _addressTally.AddTally(connection.GetIpAddress(), connection) && _connections.Add(connection); } }