[ENet-discuss] disable packet throttle?

Nick Hodapp nickh at Oberon-Media.com
Tue Mar 1 15:24:00 PST 2005


I'm losing unreliable packets sent over a lan (and on my local
connection) - and quite a few of them!  Upwards of 25%, sent at a rate
of 60/second.  I've tracked this down to the packet throttle mechanism
(line 868 inside enet_protocol_send_unreliable_outgoing_comands() ).

I thought I could turn off packet throttling by calling
enet_peer_throttle_configure(), passing 0 and 0 for the acceleration and
deceleration parameters, but this didn't work.  

I guess I don't fully understand the mechanism enough to understand why
it would be deciding to kill packets - I'm certain the bandwidth is
available.

What's the best way to either disable the packet throttle, or configure
it to lose fewer packets?  

Thanks


More information about the ENet-discuss mailing list