[ENet-discuss] ENet 1.2.2 work-in-progress
Lee Salzman
lsalzman1 at cox.net
Fri May 14 07:52:46 PDT 2010
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
>
>
More information about the ENet-discuss
mailing list