Dunno, I'll think on it and see if I can come up with something.

Lee

Andrew Fenn wrote:
In that case is there a solution or can we see this possibly being
made easier via the API down the line?

On Fri, May 14, 2010 at 9:52 PM, Lee Salzman <[email protected]> wrote:
Keep in mind that reusing those internal ENet statistics is not going to be
very safe at all, except for the roundTripTime stat. Those *Bandwidth vars
don't measure totals and are just limits supplied by the user. And because
of the whole dispatch queue change I made, lastServicedPeer no longer
exists. :)

Lee

Andrew Fenn wrote:
That out of the way, are there any not too difficult things people would
like to see in 1.2.2?

- I use the cmake build system for our project. It'd be great if ENET
included a FindENET.cmake script or better yet just completely change
over from autotools.

I've attached the ENET scripts I use to statically link it into our
project.

- I'm currently trying to figure out how to get the following data from
ENET:
    - Total data received / sent
    - Data received / sent since the last flush
    - Total packets received / sent

I'm not so sure those things are features but I'm sure i'm not the
only one that's confused over how to get that data. So if you could
correct me on the following..

lHost->lastServicedPeer->roundTripTime - I use this for ping time
however it always says 5ms even when I kill the server.
lHost->incomingBandwidth/1000 - Data in KiB received (always shows the
same number even when killing the server)
lHost->outgoingBandwidth/1000 - Data in KiB sent (always shows the
same number even when killing the server)
lHost->lastServicedPeer->packetsSent - Get's the packets sent since
the last flush



_______________________________________________
ENet-discuss mailing list
[email protected]
http://lists.cubik.org/mailman/listinfo/enet-discuss

Reply via email to