I have a server and a client. But when ever I start moving the game window, it stops executing code until the window stops moving,causing a connection timed out because the server or client stopped responding for a while.
What do I need to do in order to make the game always run code, even when the game window is being moved?