Re: Java Socket Programming
- From: Gordon Beaton <n.o.t@xxxxxxxxx>
- Date: 31 Mar 2006 19:22:25 +0100
On 31 Mar 2006 08:38:31 -0800, Ravi wrote:
I understood your explanation. I think his question is in such a way
that if the serversocket listens in single port 8000.
But how all sockets connected to the same listened port handles the
information passing into that port.
The sockets are different in more aspects than just the port number.
Traffic arriving to the interface is dispatched by the network stack
based on the *combination* of local address, local port, remote
address and remote port. The port number alone does *not* identify the
socket or the connection.
/gordon
--
[ do not email me copies of your followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e
.
- References:
- Java Socket Programming
- From: DaveL
- Re: Java Socket Programming
- From: Gordon Beaton
- Re: Java Socket Programming
- From: Ravi
- Java Socket Programming
- Prev by Date: Re: Reading HDD serialNo
- Next by Date: Re: JavaDojo - Exceptional beta till end of May 2006
- Previous by thread: Re: Java Socket Programming
- Next by thread: How to get the Internet Speed
- Index(es):
Relevant Pages
|