2 ms·
For a long time I thought there was a limit of 65535 concurrent connections, but I learnt today that it is for local ports only. Now I'm confused. Doesn't accep
by teyc 15y ago
For a long time I thought there was a limit of 65535 concurrent connections, but I learnt today that it is for local ports only. Now I'm confused. Doesn't accept() create a local port?
- chubs 15y agoYes, but the limit is: 65k only for a single incoming IP address. So 1m is fine, presuming the clients all have different IPs. So, for testing, i'm going to have to do 1m/65k = 16 servers running concurrently at 64k connections each.