Why don't browsers collide traffic?

Oldtimer
Posts: 834
Joined: 2002.09
Post: #1
Something hit me a minute ago, and I'd like to clear it out for my own sake. Smile

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. Wink
Quote this message in a reply
DoG
Moderator
Posts: 869
Joined: 2003.01
Post: #2
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
Quote this message in a reply
Oldtimer
Posts: 834
Joined: 2002.09
Post: #3
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!
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Application Bundle Identifiers for Browsers dancedrummer 2 3,791 Jul 22, 2005 02:08 PM
Last Post: dancedrummer