Re: Multiple connections, same port
- From: "Nick Hounsome" <nh002@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 02 Mar 2006 08:04:24 GMT
A TCP connection is a 4-tuple
(server addr,server port,client addr,client port)
Therefore it is not a problem to have multiple clients connecting to the
same server port.
This is effectively enforced at the client end where you will not be able to
bind 2 client sockets to the same address and port(normally you just accept
the default anyway which just allocates the next port).
"Sharon" <nothing@xxxxxxxxx> wrote in message
news:eDKkJIXPGHA.1532@xxxxxxxxxxxxxxxxxxxxxxx
Hi all,
I've implemented a TCP server using the Socket async methods.
When connecting to the server from 3 instances of hyper terminal,
i've noticed that each of the newly created server sockets, uses the same
server port.
I assumed that a new connection will receive a unique port.
If this is the way its suppose to work, is it a performance issue?
Is it possible that connections from the same IP will connect on the same
server port?
I have no way to test it, as i have only one computer.
Thanks,
Sharon.
.
- References:
- Multiple connections, same port
- From: Sharon
- Multiple connections, same port
- Prev by Date: Re: shortcut key to implement interface
- Next by Date: RE: How to Populate Base + Child Class Fields
- Previous by thread: Re: Multiple connections, same port
- Next by thread: DllImport path issue
- Index(es):
Relevant Pages
|