Why don't browsers collide traffic?
Something hit me a minute ago, and I'd like to clear it out for my own sake. 
Assume that I have two applications running on one machine, using the same network port. Will traffic sent to that port from outside be routed to both applications? If so, how come Firefox and Safari can co-exist nicely? And if not, why do we not all run games on port 80 to avoid NAT punch-through issues?
I'm sure I'm missing something here.

Assume that I have two applications running on one machine, using the same network port. Will traffic sent to that port from outside be routed to both applications? If so, how come Firefox and Safari can co-exist nicely? And if not, why do we not all run games on port 80 to avoid NAT punch-through issues?
I'm sure I'm missing something here.
Port 80 is the REMOTE port the browsers are accessing. When they open a connection, the remote server is told which port to use to respond. The browser simply requests an unused port from the OS, and uses that for communication. See http://www.camden411.com/tcpipfaq/ports.html
Makes a boatload of sense. That actually cleared up a lot of misconceptions I've had on networking: I thought the port mapping was symmetrical. Thanks for the link, too!
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Application Bundle Identifiers for Browsers | dancedrummer | 2 | 3,527 |
Jul 22, 2005 02:08 PM Last Post: dancedrummer |
|

