Results 1 to 2 of 2
  1. #1
    maribo is offline Member
    Join Date
    May 2010
    Posts
    8
    Rep Power
    0

    Default 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.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,259
    Rep Power
    25

    Default

    Are the clients at the same IP address? On the same computer? If at different IP addresses they can all have the same port numbers.

Similar Threads

  1. Cannot deploy app clients
    By eevictim in forum NetBeans
    Replies: 0
    Last Post: 03-10-2010, 10:44 PM
  2. ip address of all clients
    By guneet singh in forum Networking
    Replies: 4
    Last Post: 03-01-2009, 02:01 PM
  3. SSL Server with authentication of clients
    By zoltan in forum Networking
    Replies: 0
    Last Post: 10-14-2008, 11:27 PM
  4. Multple Clients
    By samson in forum Networking
    Replies: 1
    Last Post: 04-04-2007, 06:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •