I'm trying to make a multiplayer system. I have a working server and the network interface is ok ! The only problem is when the server ask client for changing GUI, Client crashes with the knows OpenGL problem (No OpenGL context found in current thread) !
I have tried to update the network but due to a while loop when call the DataInputStream.readInt(); void, the client stuck into an interminable loop until the server is sending to client.
Now the question is :
How can i make a multiplayer game using LWJGL here is the network's interface code (client side) :
--PRIVATE--