Search:

Type: Posts; User: d4dev

Search: Search took 0.07 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. 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 8 of 8