If I have one 'live IP address', i.e an IP address on which if I run a server anybody over internet can access this server.
Now let say I have an army of computers under the gateway which has the 'live IP address'.
Is the below true?
If all computers under this IP address hit the same google server on the same port 80 with keep-alive
header then the max number of connection can be 2^16=65536
How did I conclude that number?
TCP/IP packet is identified by (src.ip, src.port, dst.ip, dst.port)
For our case if we look from server side than src.ip=MY LIVE IP, dst.ip=google server ip, dst.port=80 so we are left with src.port which is 16 bit.
If the above is true then:
Max number of socket connection is also 2^16 as there can be only one socket per TCP connection. Is this true ?