[ENet-discuss] general questions about ENET usage and implementation in an RTS/MOBA

Jamie Seward jamie.d.seward at gmail.com
Wed Jun 10 12:14:07 PDT 2015


Sorry not sure if I am replying properly. I get the digest email.

> As always, be careful that you are calling enet_host_service often enough.
> If you are only doing it every 50ms, that may not be often enough. That
> doesn't mean you have to have your update logic running more frequently,
> just that you have to service the host more frequently than that to give
it
> opportunities to do its thing.

Sorry this wasn't made clear in my description. enet_host_service is called
as fast as possible in a separate thread with a Sleep(1). it only sends
packets to clients every 50ms.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20150610/ac567dcb/attachment.html>


More information about the ENet-discuss mailing list