Results 1 to 2 of 2
- 06-16-2010, 09:14 AM #1Member
- Join Date
- May 2010
- Rep Power
communication between clients UDP
Hello to everybody,
first of all I saw another similar post, but it was about socket TCP.So that's why I decided to port a different message.
As in the title, I need to implement communication between clients connected through socket UDP with the server, let's say on port 8000.Every client has its own port in input let's say 3000,3001 (if they are two).
I thought the following: if clients_1 wants to send a message DIRECTLY to clients_2, then it ask the server the port number where client_2 is listening.
To do that, how can I implement the connection without bothering the server?
And above all, if I use the same port, does the connection with the server go down? As I read, UDP socket is connectionless, so this two connections can go though the same port without collisions with each other?
Thank you very much for your reading, and above all for your answering.
- 06-16-2010, 02:17 PM #2
- By eevictim in forum NetBeansReplies: 0Last Post: 03-10-2010, 11:44 PM
- By guneet singh in forum NetworkingReplies: 4Last Post: 03-01-2009, 03:01 PM
- By zoltan in forum NetworkingReplies: 0Last Post: 10-15-2008, 12:27 AM
- By samson in forum NetworkingReplies: 1Last Post: 04-04-2007, 07:37 AM