[ENet-discuss] How to speed up sending out outgoingReliableCommands?

Eric shunxung+enet at gmail.com
Sun Sep 20 22:30:50 PDT 2015


Hi all,

1.  I use a child thread to send many reliable packets in a short time and
the main thread is the loop to call *enet_host_service* regularly(1000ms).
But I found that most of packets are queued in *outgoingReliableCommands.  *I
tried to use *enet_host_flush* in main thread but it seems unhelpful.
How could I speed up sending *outgoingReliableCommands *(change
enet_host_service timeout?) or how could I check where the bottleneck is?
(because of recv peer side?)

2. Is it possible to clear specific channel packet data?

Thanks,
Eric
-- 
*Best Regards*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20150921/2a851acd/attachment.html>


More information about the ENet-discuss mailing list