Port calls
--#--
Reload the page several times. Notice how the "Remote port"
increments each time? This is so the server will always answer the
right request. You might have two browsers running simultaneously
to the same site. One request may take longer than another to
fulfill, so it's important that each response go back to the
address and port that it came from.
You might think it's tough on a browser to keep track
of the ports it's used. But the browser doesn't need to.
Again, this is a low-level function handled by the
operating system.
To prove it, send Pete against localhost:9000. Notice that
he uses a port number one above the last one used by your
browser. Now send Netscape or IE -- the remote port is one
higher than Pete's! Only the OS could do that.