src/Cedar/Listener.c
// Set the maximum number of connections per IP address

Set the maximum number of connections per IP address
Set the maximum number of connections per IP address
void SetMaxConnectionsPerIp(UINT num)
{
	if (num == 0)
	{
		num = DEFAULT_MAX_CONNECTIONS_PER_IP;
	}
	max_connections_per_ip = MAX(num, MIN_MAX_CONNECTIONS_PER_IP);
}
void SetMaxConnectionsPerIp ( UINT num ) { if ( num == 0 ) { num = DEFAULT_MAX_CONNECTIONS_PER_IP ; } max_connections_per_ip = MAX ( num , MIN_MAX_CONNECTIONS_PER_IP ) ; }
Set the maximum number of connections per IP address
Set the maximum number of connections per IP address