New answers tagged websocket
I think you might have some misconceptions about how the application would be structured. You said a "server desktop application" but this a bit contradictory. Indeed, a server does not actually run on the desktop... at least not in the traditional sense. Let's clear up a few things, then: The users of your application can see your source code but if you ...
Websockets always connect to a central server. This allows to implement most of the game mechanics and store most of the gamestate on the server. The server only sends that information to the clients which they are supposed to show to the player and interprets any input from the client as a request which needs to be checked for validity and may be denied. ...
try opening a new thread like in this video tut and use that for your connections. https://www.youtube.com/watch?v=6G_W54zuadg there may be some useful info in this video hope it helps
Top 50 recent answers are included