Forum de la communauté SFML

Aide => Général => Discussion démarrée par: s1and1 le Décembre 19, 2021, 11:40:18 am

Titre: client floods the server
Posté par: s1and1 le Décembre 19, 2021, 11:40:18 am
sorry for my english.

Hello, creating a multiplayer game faced a problem. The client is flooding with udp requests and the server is working too slow, so the position of the player in the screen of another player is very different from the real ones.

The client sends requests via while(true) and the server runs in the same cycle.


is it possible to somehow reduce the load?


Thank you in advance!
Titre: Re: client floods the server
Posté par: G. le Décembre 19, 2021, 07:47:07 pm
Hello, the french forums are a bit deserted, especially if you don't speak french.
There's an english forum (https://en.sfml-dev.org/forums/), with a lot more people! (you can also access it from here by clicking "forum anglais" at the top right of the page)