Search:

Type: Posts; User: moon_werewolf

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    2,379

    Re: ServerSocket send data to all Sockets

    Thanks. It helped me locate the problem. In the Player.java I had this code private static Socket socket; which sould have been this private Socket socket;
  2. Replies
    5
    Views
    2,379

    Re: ServerSocket send data to all Sockets

    This is what i have in the main server class.


    public void run()
    {
    while(true)
    {
    Socket join = null;

    try
  3. Replies
    5
    Views
    2,379

    ServerSocket send data to all Sockets

    I'm working on my first maultiplayer game in java. But I have a problem. Only the latest connected socket get any data, and I have no idea why. I tried to make a loop that would send the collected...
Results 1 to 3 of 3