Bienvenue, Invité. Merci de vous connecter ou de vous inscrire.
Avez-vous perdu votre e-mail d'activation ?

Auteur Sujet: client floods the server  (Lu 1357 fois)

0 Membres et 1 Invité sur ce sujet

s1and1

  • Newbie
  • *
  • Messages: 6
    • Voir le profil
    • E-mail
client floods the server
« 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!
« Modifié: Décembre 19, 2021, 11:41:57 am par s1and1 »

G.

  • Hero Member
  • *****
  • Messages: 1592
    • Voir le profil
Re: client floods the server
« Réponse #1 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, with a lot more people! (you can also access it from here by clicking "forum anglais" at the top right of the page)