Results 1 to 4 of 4
  1. #1
    smi
    smi is offline Member
    Join Date
    Jun 2010
    Posts
    2
    Rep Power
    0

    Default Comunication between client

    Hi! In a client-server application how can I implement the comunication between client? (with tcp protocol and socket)
    Thanks

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

    Default

    One client uses a ServerSocket and waits for a connection.
    The other client uses a Socket to connect to the waiting client.

  3. #3
    maribo is offline Member
    Join Date
    May 2010
    Posts
    8
    Rep Power
    0

    Default pipes?

    A suggestion-question:
    the communication between clients can also be handled with pipes, am I wrong?
    But I don't know how to implement this. I am also trying to make clients comunicate between each other.

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

    Default

    communication between clients can also be handled with pipes
    Do pipes use the internet? I thought they were only on a single PC.

Similar Threads

  1. send message from a client to another client
    By esko in forum Networking
    Replies: 2
    Last Post: 02-04-2010, 07:21 PM
  2. Comunication with server
    By Quillion in forum New To Java
    Replies: 2
    Last Post: 11-09-2009, 10:07 PM
  3. [JAVA] Applet and Servlet comunication
    By kinguzzo in forum Java Applets
    Replies: 1
    Last Post: 09-30-2009, 07:51 PM
  4. Replies: 1
    Last Post: 10-05-2008, 03:12 PM
  5. Identify Client in Socket Client Server Application
    By masadjie in forum Networking
    Replies: 1
    Last Post: 12-20-2007, 09:18 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
  •