get the number of concurrent tcp connections