[ENet-discuss] disable packet throttle?

Lee Salzman lsalzman1 at cox.net
Tue Mar 1 23:51:34 PST 2005


Set the decel to 0, but keep the accel non-zero. That will prevent it 
from throttling down.

Lee

Nick Hodapp wrote:

>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