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;
Type: Posts; User: moon_werewolf
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;
This is what i have in the main server class.
public void run()
{
while(true)
{
Socket join = null;
try
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...