Timeline for How does the router know which device to send packets to?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 26, 2012 at 4:45 | history | migrated | from stackoverflow.com (revisions) | ||
Dec 26, 2012 at 4:13 | vote | accept | CommunityBot | ||
Dec 26, 2012 at 3:26 | comment | added | Michael Bray | For UDP connections you usually have to pre-define a port on your router that can be used to route to a specific device. This is the "port forwarding" feature of routers, and can be used either for incoming UDP packets (either in response to an outgoing message or a fresh incoming packet) as well as for incoming TCP packets (eg those initiated by a remote client instead of your own PC.) | |
Dec 26, 2012 at 3:23 | comment | added | Dan Webster | this would explain things like TCP connections, but some applications are connectionless. What about UDP packets? What if you're hosting a server on 1 device, even if it uses TCP for the connection, it wont be able to initialize a connection without the router knowing which device the server is on. | |
Dec 26, 2012 at 3:18 | history | answered | Michael Bray | CC BY-SA 3.0 |