Comment on How does a game server differentiate between multiple clients on the same network? Do they even?

CombatWombat@feddit.online ⁨1⁩ ⁨day⁩ ago

The internet is an inter-networking protocol. Your modem/router gets a single IP address to represent the entire network, but it assigns addresses to each device internally. When it receives a packet from the wider internet, it performs a translation to figure out which internal address to route the packet to. There are headers attached to the packet that your router uses to keep track of which internal addresses to send it to.

source
Sort:hotnewtop