[ENet-discuss] Timeout for enet_host_service

James Bellinger james at illusorystudios.com
Sat Apr 6 14:19:48 PDT 2013


Hello,

A recent e-mail brought to my attention that enet_host_service, when 
event is null, does not return when there are packets to be dequeued.
Instead it waits for the full timeout time. I ask because the 
documentation suggests 'no events will be *delivered*' whereas
the return value is 'event *occured*'. I had expected it operated 
identically whether or not the event was null, except that you picked up the
event with a later check events call instead. Is this the intent?

Thank you

James





More information about the ENet-discuss mailing list