[ENet-discuss] enet_host_service() timeout 0

Lee Salzman lsalzman1 at cox.net
Tue Nov 16 15:42:38 PST 2004


What value is enet_host_service() returning?

On Tue, Nov 16, 2004 at 11:28:43AM +0000, raoul lecrikidesaoule wrote:
> Hi everybody!
> 
> I have a problem with ENet lib. All seams to work correctly except the 
> function enet_host_service().
> 
> ?if a timeout of 0 is specified, enet_host_service() will return 
> immediately if there are no events to dispatch.?
> 
> But when I set the timeout to 0, no events are dispatched even if there are 
> some! And this occurs a memory leak as packet isn?t destroyed?
> Did I miss something or?
> Thanks,
> Ju
> 


More information about the ENet-discuss mailing list