[ENet-discuss] Bandwidth Monitoring?

Sergio Martin smartin at freedomfactorystudios.com
Thu Oct 21 09:04:44 PDT 2010


+1

It would be great.

El 21/10/2010 17:58, Daniel Aquino escribió:
> I think we need a patch repository for enet...
>
> I think it would really make enet more approachable if you could go to
> one place and find sets of patches that could be applied to add various
> features or tweak it...
>
>
> On Thu, Oct 21, 2010 at 10:46 AM, Beau Albiston <BAlbiston at totimm.com
> <mailto:BAlbiston at totimm.com>> wrote:
>
>     Sweet, didn’t see that.  Thanks!  Oh, and for those that are new to
>     this networking stuff, take a look at WireShark.
>
>     *From:* enet-discuss-bounces at cubik.org
>     <mailto:enet-discuss-bounces at cubik.org>
>     [mailto:enet-discuss-bounces at cubik.org
>     <mailto:enet-discuss-bounces at cubik.org>] *On Behalf Of *Lee Salzman
>     *Sent:* Thursday, October 21, 2010 10:03 AM
>
>     *To:* Discussion of the ENet library
>     *Subject:* Re: [ENet-discuss] Bandwidth Monitoring?
>
>     As per the 1.2.2 ChangeLog:
>     "* added totalSentData, totalSentPackets, totalReceivedData, and
>     totalReceivedPackets counters inside ENetHost for getting usage
>     statistics"
>
>     They incremental continuously, so it's your job to reset them every
>     second.
>
>     Lee
>
>
>     On 10/21/2010 06:43 AM, Beau Albiston wrote:
>
>     It would be nice to have some statistics functions.  I would be most
>     interested in things like bytes/sec sent/received at the socket, for
>     instance.
>
>     -Beau
>
>     *From:* enet-discuss-bounces at cubik.org
>     <mailto:enet-discuss-bounces at cubik.org>
>     [mailto:enet-discuss-bounces at cubik.org] *On Behalf Of *Nicholas J
>     Ingrassellino
>     *Sent:* Thursday, October 21, 2010 8:16 AM
>     *To:* Discussion of the ENet library
>     *Subject:* Re: [ENet-discuss] Bandwidth Monitoring?
>
>     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  <mailto:ENet-discuss at cubik.org>
>
>     http://lists.cubik.org/mailman/listinfo/enet-discuss
>
>
>
>
>
>
>
>     _______________________________________________
>
>     ENet-discuss mailing list
>
>     ENet-discuss at cubik.org  <mailto:ENet-discuss at cubik.org>
>
>     http://lists.cubik.org/mailman/listinfo/enet-discuss
>
>
>
>
>     _______________________________________________
>     ENet-discuss mailing list
>     ENet-discuss at cubik.org <mailto:ENet-discuss at cubik.org>
>     http://lists.cubik.org/mailman/listinfo/enet-discuss
>
>
>
>
> _______________________________________________
> ENet-discuss mailing list
> ENet-discuss at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-discuss


More information about the ENet-discuss mailing list