Search:

Type: Posts; User: d4dev

Search: Search took 0.20 seconds.

  1. Re: Server-client ping system won't work. (message being sent but not received)

    Hey, it gets stuck in the while loop...


    if (in.ready()){
    System.out.println("in ready...");
    String string = "";
    int chr = in.read();
    while (chr != -1){
    string +=...
  2. Re: Server-client ping system won't work. (message being sent but not received)

    Probably not...
  3. Re: Server-client ping system won't work. (message being sent but not received)

    The problem is, I already did that and it did say ping... in the client, and in the server the while loop was running... I'll try it again.
  4. Re: Server-client ping system won't work. (message being sent but not received)

    Okay, I made it so it can compile.
    server
    clientaccepter.java, accepts incoming connections


    package server;

    import java.io.IOException;
    import java.net.ServerSocket;
    import...
  5. Re: Server-client ping system won't work. (message being sent but not received)

    Ok, but I have to go in a hurry now, forgot the time. Ill make a compiling version later.
  6. Re: Server-client ping system won't work. (message being sent but not received)

    Why whould you need to compile it? I really do think it's something little I've looked over since it almost always is... And it doesn't give an error or so, it just never says anything in the server...
  7. Re: Server-client ping system won't work. (message being sent but not received)

    Did that, all other code is still visible in the github.
  8. Replies
    3
    Views
    834

    Re: Chat Program over internet

    The program will work online if it works within the local network. The only thing you have to do is, if you have a router, forward the port your program is using. This is very different for every...
  9. Server-client ping system won't work. (message being sent but not received)

    Hello
    I am currently making a game in java for a school project, but I have got a problem. I am currently trying to set up an online connection system, that pings to see if the connection is still...
Results 1 to 9 of 9