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:
Hello,
Can we connect multiple clients to a server with the use of same port address?
Thnx
Regards,
Vishavdeep Goyal
Posted
Comments
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.[^].

—SA
 
Share this answer
 
Comments
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.
--SA
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
 
Comments
Member 8023187 27-Jun-11 7:59am    
thnx.....

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