[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
this.
 
Cheers,
Ruud


  _____  

Van: enet-discuss-bounces at cubik.org [mailto:enet-discuss-bounces at cubik.org]
Namens sinoth
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...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20090512/62e6dd64/attachment.htm>


More information about the ENet-discuss mailing list