Modem ----- Router ------ PC 1
------ PC 2
Assume router has a default IP of 192.168.1.1 & Pc's 192.168.1.2 & 192.168.1.3.
My question is when 2 Pc's access internet simultaneously,how does the router know which computer requested for the information ? I doubt that it works based on port numbers.(logical).If that's right then how will the computer send it's port information to the router ?Or where is that infomation present in the packet ?To add on what packets does computer's use ?TCP or UDP ?When we say a computer sends data what type of packet is it ?