Results 1 to 4 of 4
  1. #1
    alladin is offline Member
    Join Date
    Jan 2012
    Posts
    11
    Rep Power
    0

    Default problems running echoclient

    I have problems running echoclient on local host
    There is an exception :

    Couldn't get I/O for the connection to:localhost
    how can i run both programms echo server and echo client
    Attached Files Attached Files

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

    Default Re: problems running echoclient

    Can you post the full text of the error message showing where the error occurred.

    how can i run both programms echo server and echo client
    Please explain what the problem is.
    Can the programs each be run by using the java command with each in turn?

  3. #3
    alladin is offline Member
    Join Date
    Jan 2012
    Posts
    11
    Rep Power
    0

    Default Re: problems running echoclient

    It was a basic mistake , EchoServer must be run before Echoclient
    Instersting thing is that returned message from server is at different port so ,( if you are familliar with clientserver java.net)
    i can assume that there are 2 different sockets one ofr input and the other for output for both client and server?

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

    Default Re: problems running echoclient

    Have you solved the problem now?

Similar Threads

  1. problems with running eid card
    By GlWy in forum Advanced Java
    Replies: 0
    Last Post: 01-03-2011, 05:35 PM
  2. Problems running my first GUI
    By leonsas in forum AWT / Swing
    Replies: 2
    Last Post: 12-27-2010, 11:40 AM
  3. running problems
    By babygina37 in forum Eclipse
    Replies: 3
    Last Post: 04-20-2009, 04:59 AM
  4. Problems running subreports with JasperReport
    By jiggaworld in forum Advanced Java
    Replies: 0
    Last Post: 10-15-2008, 10:14 AM
  5. Equinox problems running on Eclipse 3.4
    By jguerra in forum Eclipse
    Replies: 0
    Last Post: 09-05-2008, 02:34 PM

Posting Permissions

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