Page 2 of 2 FirstFirst 12
Results 21 to 24 of 24

Thread: Java TCP help.

  1. #21
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,602
    Rep Power
    23

  2. #22
    Jcbconway is offline Senior Member
    Join Date
    Sep 2010
    Posts
    109
    Rep Power
    0

    Default

    Hmm, so, the Host/server receives something from 2, should send it to both 1, 2 to print it to the JTextArea? I have it so it prints the users name IE "person1: Hello", and you set the name every time you open the program, so, would it be a good idea to send all data to the host, and print nothing to the JTextArea, then receive all data from the host and then print it to the text area?

  3. #23
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,602
    Rep Power
    23

    Default

    Looks like you need to think this through a bit and get a design before trying to code any more.
    Leaving for tonight.

  4. #24
    Jcbconway is offline Senior Member
    Join Date
    Sep 2010
    Posts
    109
    Rep Power
    0

    Default

    Yea, I am re-working the sudo a little bit. Thanks for the help!

Page 2 of 2 FirstFirst 12

Posting Permissions

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