[ENet-discuss] Monitoring the progress of a large packet
Ruud van Gaal
ruud at racer.nl
Tue May 12 03:27:59 PDT 2009
I'm not sure, but the whole 'feel' of Enet suggest that it's not targeted at
efficient sending of such large packets.
My guts say it's better to just split the whole thing up in 1Kb segment for
example and send those reliably. But Lee might have the definitive tip on
Van: enet-discuss-bounces at cubik.org [mailto:enet-discuss-bounces at cubik.org]
Verzonden: Tuesday, May 12, 2009 06:02
Aan: enet-discuss at cubik.org
Onderwerp: [ENet-discuss] Monitoring the progress of a large packet
Heya all, have a question about large transfers. My current app needs to
send a snapshot of data which is decently large (~1.5meg) when a client
connects, and I'm wondering if there is a good way to monitor the progress
of this transfer without manually splitting it up. Currently I shove all
the data into one "packet", and let ENet handle splitting it up behind the
scenes. However, using this method I can't find an easy way to ask ENet
what the current transfer progress is. I'd like to display to the client a
% of transfer complete.
Can I somehow find out how much of a packet has been pushed out, or will I
need to manually split it into chunks so I can monitor progress?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ENet-discuss