Results 1 to 3 of 3
  1. #1
    esko is offline Member
    Join Date
    Feb 2010
    Posts
    2
    Rep Power
    0

    Default send message from a client to another client

    hi there,

    I've got a slight problem, I've created this simulation which is used as a client server, basically it has two clients (a cook and a cashier) and a server, all messages being sent to the server are working fine, but I need to send messages to one of the two clients (cook sends to cashier).
    Last edited by esko; 02-08-2010 at 01:53 AM.

  2. #2
    mrmatt1111's Avatar
    mrmatt1111 is offline Senior Member
    Join Date
    Aug 2009
    Location
    San Jose, CA, USA
    Posts
    320
    Rep Power
    11

    Default

    You should have your "server" send messages from cook to cashier. You have both the cook and the cashier connect to the server, the cook sends a message to the server and then the server sends it to the correct cashier and the reverse.

    It is a much more difficult problem to have each cook connect to each cashier each acting as their own server.
    My Hobby Project: LegacyClone

  3. #3
    esko is offline Member
    Join Date
    Feb 2010
    Posts
    2
    Rep Power
    0

Similar Threads

  1. how to send mp3 file from server to client
    By Jigga008 in forum Networking
    Replies: 0
    Last Post: 12-01-2009, 01:02 PM
  2. Replies: 3
    Last Post: 07-29-2009, 05:52 AM
  3. A Client to Send SMTP Mail
    By Java Tip in forum java.net
    Replies: 0
    Last Post: 04-07-2008, 09:06 PM
  4. send/read int in a client/server app
    By dim_ath in forum New To Java
    Replies: 2
    Last Post: 01-03-2008, 02:03 PM
  5. how to send .jar files client to server
    By gobinathm in forum Networking
    Replies: 1
    Last Post: 12-25-2007, 05:05 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
  •