[ENet-discuss] enet packet send "progress" question

Benoit Germain bnt.germain at gmail.com
Wed Jul 1 00:09:41 PDT 2015

2015-06-30 17:25 GMT+02:00 Eric Young <evilbrave at gmail.com>:

> I use enet as a tcp-udp bridge to transfer all tcp data via rudp.
> And I want to show the progress of how many percentage of data has been
> sent out in enet.(not tcp data). How do I achieve that?
> ex: I send 10MB data via enet, how do I show the progress while enet sends
> out the enet packet.
> I know that the "enet_packet_send" just queues the packets, not truly
> sends out the packets. So how could I monitor how many bytes data enet has
> been sent?
> Or I could use "enet_list_size (& currentPeer ->
> outgoingReliableCommands)" as a roughly sending percentage if I only have
> one data to transfer at a time?
A while back i've groked a data sending mechanism. I happens that it can
monitor progress. You can check it out here:

Maybe if there is sufficient interest Lee will consider making it part of
the official build :).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20150701/f0eabef6/attachment.html>

More information about the ENet-discuss mailing list