Click here to Skip to main content
15,844,903 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can we connect multiple clients to a server with the use of same port address?
Vishavdeep Goyal
jchoponis 26-Jun-11 23:19pm    
what protocol are your using? meaning...what are your trying to do?
Per Söderlund 27-Jun-11 2:18am    
Do you mean IPAdress and portnumber over tcp?

Please see this design sketch I provided in my past answer to the similar question: Multple clients from same port Number[^].

You can use TCP networking on different level. Please see my overview of them in my past answers:
how i can send byte[] to other pc[^],
Communication b/w two Windows applications on LAN.[^].

Share this answer
Ciumac Sergiu 26-Jun-11 23:47pm    
That a very frequent question :) Anyway, my 5!
Sergey Alexandrovich Kryukov 26-Jun-11 23:58pm    
Thank you, Sergiu.
yes , we can connect multiple clients to a server through same port. At the Server we can specify a threshold number of connections to a socket(welcome Socket). once connected the client will carry operations through another port assigned by welcome socket.
Share this answer
Member 8023187 27-Jun-11 7:59am    

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900