[ENet-discuss] Bandwidth Monitoring?
Nicholas J Ingrassellino
nick at lifebloodnetworks.com
Thu Oct 21 06:15:56 PDT 2010
Ooohhh, I misunderstood their purpose. Is there a variable somewhere
that will tell me how much data is going back and forth at any given
time or do I need to do that myself?
------------------------------------------------------------------------
Nicholas J Ingrassellino
LifebloodNetworks.com <http://www.lifebloodnetworks.com/> ||
nick at lifebloodnetworks.com <mailto:nick at lifebloodnetworks.com>
"The idea that I can be presented with a problem, set out to logically
solve it with the tools at hand, and wind up with a program that could
not be legally used because someone else followed the same logical steps
some years ago and filed for a patent on it is horrifying."
- John Carmack on software patents
On 10/20/2010 10:19 PM, Lee Salzman wrote:
> They're never updated and merely hold the values you pass in when you
> create the host.
>
> Lee
>
> On 10/19/2010 10:13 AM, Nicholas J Ingrassellino wrote:
>> Is there something special I have to do to get
>> /_ENetPeer.incomingBandwidth/ and /_ENetPeer.outgoingBandwidth/
>> working? I am using both reliable and unreliable packets but these
>> values are always zero. For example, if I do /std::cout <<
>> event.peer->incomingBandwidth;/ inside my main loop I get bumpkis./
>> /Also, how often are they updated?/
>> /
>>
>> ------------------------------------------------------------------------
>>
>> Nicholas J Ingrassellino
>> LifebloodNetworks.com <http://www.lifebloodnetworks.com/> ||
>> nick at lifebloodnetworks.com <mailto:nick at lifebloodnetworks.com>
>>
>> "The idea that I can be presented with a problem, set out to
>> logically solve it with the tools at hand, and wind up with a program
>> that could not be legally used because someone else followed the same
>> logical steps some years ago and filed for a patent on it is horrifying."
>> - John Carmack on software patents
>>
>>
>
>
> _______________________________________________
> ENet-discuss mailing list
> ENet-discuss at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20101021/d2b342ff/attachment.html>
More information about the ENet-discuss
mailing list