Search:

Type: Posts; User: willemjar

Search: Search took 0.12 seconds.

  1. Replies
    20
    Views
    3,958

    Re: a private chat application in process

    I have the application (finally) going and will print the code for whoever wants to try it out.
    But there is one more problem.
    The inner class that deals with the socket connections (one server and...
  2. Replies
    20
    Views
    3,958

    Re: a private chat application in process

    Thanks, jps, but the question stays, the application is working correctly but not making
    a internet connection over an ip, so what am i missing?
  3. Replies
    20
    Views
    3,958

    Re: a private chat application in process

    "you are still opening a server socket on both machines."
    No not true, it depends on the number of arg, when only port number, it opens
    the server, but when port number and ip, it will open only...
  4. Replies
    20
    Views
    3,958

    Re: a private chat application in process

    The small program works perfect on one machine through local host address.
    But when running on two different machines (and using the wifi of my neighbours)
    there is a problem! So here is what I do:...
  5. Replies
    20
    Views
    3,958

    Re: a private chat application in process

    This thread is not going anywhere.....
    The program I wrote has some interesting problems but nobody is
    really going over the code seriously!! I understand because it is too long
    and not (still)...
  6. Replies
    20
    Views
    3,958

    Re: a private chat application in process

    I have gone over everything, and thanks for you answering me consequently!
    I copied the while loop too!

    But here is what happens:
    1) the server socket waits and gets a incoming request than ->...
  7. Replies
    20
    Views
    3,958

    Re: a private chat application in process

    JPS, I can't get the application going, really annoying!
    I do not know where the problem lays (IP Socket, null or closed etc.)
    So lets go through it step by step, ok?

    First there is the "call...
  8. Replies
    20
    Views
    3,958

    Re: a private chat application in process

    I did read all that stuff and many more, jps.
    But I found another problem that may cause the socket to be null.
    I thought that the next method gives my the IP of my net work connection.
    It turns...
  9. Replies
    20
    Views
    3,958

    Re: a private chat application in process

    Thanks JPS, the next code would precede the connection, right?
    But when I run the counter connecting part I get a null pointer
    for the socket (not server socket), see code fragment pls
    (could that...
  10. Replies
    20
    Views
    3,958

    Re: a private chat application in process

    So I am testing it now on two comp and different IPs
    Both computers are waiting for incoming calls:

    server = new ServerSocket(port);
    textIn.append(" listening on incoming calls \n ");
    socket...
  11. Replies
    20
    Views
    3,958

    Re: a private chat application in process

    jps, the error appears when opening for the second time the chat and both are open and listening through a socket on port 1501 over the local address. No program is closed yet and both are waiting...
  12. Replies
    20
    Views
    3,958

    a private chat application in process

    The code of the private chat application is still in process and is still not fully working !
    (though I am close to get it working I believe). The Chat connects one computer with
    another and does...
Results 1 to 12 of 12