I think we need a patch repository for enet...<br><br>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...<br>
<br><br><div class="gmail_quote">On Thu, Oct 21, 2010 at 10:46 AM, Beau Albiston <span dir="ltr">&lt;<a href="mailto:BAlbiston@totimm.com">BAlbiston@totimm.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">










<div bgcolor="black" link="blue" vlink="purple" lang="EN-US">

<div>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Sweet, didn’t see that.  Thanks!  Oh, and for those that are new
to this networking stuff, take a look at WireShark.</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<div>

<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in 0in;">

<p class="MsoNormal"><b><span style="font-size: 10pt; color: windowtext;">From:</span></b><span style="font-size: 10pt; color: windowtext;"> <a href="mailto:enet-discuss-bounces@cubik.org" target="_blank">enet-discuss-bounces@cubik.org</a>
[mailto:<a href="mailto:enet-discuss-bounces@cubik.org" target="_blank">enet-discuss-bounces@cubik.org</a>] <b>On Behalf Of </b>Lee Salzman<br>
<b>Sent:</b> Thursday, October 21, 2010 10:03 AM<div><div></div><div class="h5"><br>
<b>To:</b> Discussion of the ENet library<br>
<b>Subject:</b> Re: [ENet-discuss] Bandwidth Monitoring?</div></div></span></p>

</div>

</div><div><div></div><div class="h5">

<p class="MsoNormal"> </p>

<p class="MsoNormal">As per the 1.2.2 ChangeLog:<br>
&quot;* added totalSentData, totalSentPackets, totalReceivedData, and<br>
totalReceivedPackets counters inside ENetHost for getting usage<br>
statistics&quot;<br>
<br>
They incremental continuously, so it&#39;s your job to reset them every second.<br>
<br>
Lee<br>
<br>
<br>
On 10/21/2010 06:43 AM, Beau Albiston wrote: </p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">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.</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">-Beau</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<div>

<div style="border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-color: -moz-use-text-color;">

<p class="MsoNormal"><b><span style="font-size: 10pt; color: windowtext;">From:</span></b><span style="font-size: 10pt; color: windowtext;"> <a href="mailto:enet-discuss-bounces@cubik.org" target="_blank">enet-discuss-bounces@cubik.org</a>
[<a href="mailto:enet-discuss-bounces@cubik.org" target="_blank">mailto:enet-discuss-bounces@cubik.org</a>]
<b>On Behalf Of </b>Nicholas J Ingrassellino<br>
<b>Sent:</b> Thursday, October 21, 2010 8:16 AM<br>
<b>To:</b> Discussion of the ENet library<br>
<b>Subject:</b> Re: [ENet-discuss] Bandwidth Monitoring?</span></p>

</div>

</div>

<p class="MsoNormal"> </p>

<p class="MsoNormal">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?</p>

<div>

<p class="MsoNormal"> </p>

<div class="MsoNormal" style="text-align: center;" align="center">

<hr width="100%" size="1" align="center">

</div>

<p><b>Nicholas J Ingrassellino<br>
<a href="http://www.lifebloodnetworks.com/" target="_blank"><span style="text-decoration: none;">LifebloodNetworks.com</span></a></b> || <a href="mailto:nick@lifebloodnetworks.com" target="_blank"><span style="text-decoration: none;">nick@lifebloodnetworks.com</span></a></p>


<p><span style="font-size: 9pt;">&quot;<i>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.</i>&quot;<br>
- <b>John Carmack</b> on software patents</span></p>

</div>

<p class="MsoNormal"><br>
On 10/20/2010 10:19 PM, Lee Salzman wrote: </p>

<p class="MsoNormal">They&#39;re never updated and merely hold the values you pass in
when you create the host.<br>
<br>
Lee<br>
<br>
On 10/19/2010 10:13 AM, Nicholas J Ingrassellino wrote: </p>

<p class="MsoNormal">Is there something special I have to do to get <i>_ENetPeer.incomingBandwidth</i>
and <i>_ENetPeer.outgoingBandwidth</i> working? I am using both reliable and
unreliable packets but these values are always zero. For example, if I do <i>std::cout
&lt;&lt; event.peer-&gt;incomingBandwidth;</i> inside my main loop I get
bumpkis.<i> </i>Also, how often are they updated?</p>

<div>

<p class="MsoNormal"> </p>

<div class="MsoNormal" style="text-align: center;" align="center">

<hr width="100%" size="1" align="center">

</div>

<p><b>Nicholas J Ingrassellino<br>
<a href="http://www.lifebloodnetworks.com/" target="_blank"><span style="text-decoration: none;">LifebloodNetworks.com</span></a></b> || <a href="mailto:nick@lifebloodnetworks.com" target="_blank"><span style="text-decoration: none;">nick@lifebloodnetworks.com</span></a></p>


<p><span style="font-size: 9pt;">&quot;<i>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.</i>&quot;<br>
- <b>John Carmack</b> on software patents</span></p>

</div>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><br>
<br>
<br>
</p>

<pre> </pre><pre> </pre><pre>_______________________________________________</pre><pre>ENet-discuss mailing list</pre><pre><a href="mailto:ENet-discuss@cubik.org" target="_blank">ENet-discuss@cubik.org</a></pre><pre><a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a></pre>
<pre>  </pre><pre> </pre><pre> </pre><pre>_______________________________________________</pre><pre>ENet-discuss mailing list</pre><pre><a href="mailto:ENet-discuss@cubik.org" target="_blank">ENet-discuss@cubik.org</a></pre>
<pre><a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a></pre><pre>  </pre>

<p class="MsoNormal"><span style="color: silver;"> </span></p>

</div></div></div>

</div>


<br>_______________________________________________<br>
ENet-discuss mailing list<br>
<a href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a><br>
<a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
<br></blockquote></div><br>