Is there an alternative of ajax that does not require polling without server side modifications?

后端 未结 6 898

I\'m trying to create a small and basic \"ajax\" based multiplayer game. Coordinates of objects are being given by a PHP \"handler\". This handler.php file is being polled e

6条回答
  •  一整个雨季
    2020-12-11 16:37

    Here's a solution - use a SaaS comet provider, such as WebSync On-Demand. No server resources to worry about, shared hosting or not, since it's all offloaded, and you can push out the information as needed.

    Since it's SaaS, it'll work with any server language. For PHP, there's already a publisher written and ready to go.

提交回复
热议问题