<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#c0c0c0" bgcolor="#000000">
Throttling in ENet has always been done on a per connection basis. :)
The congestion metric is based on the length of a round trip time
between a host and a given peer, and the RTT metrics and throttle
values are stored in the peers themselves.<br>
<br>
The issue is more one of quality of service: one connection hogging
bandwidth can cause the throttles of all other connections to go down
because the link overall is congested.<br>
<br>
Lee<br>
<br>
On 12/20/2010 05:38 PM, Jay Sprenkle wrote:
<blockquote
cite="mid:AANLkTintaRrXQdiDQH74miPKFz+_0f0twFYvZ9rw=gce@mail.gmail.com"
type="cite"><br>
<div class="gmail_quote">On Sun, Dec 19, 2010 at 6:49 PM, Lee Salzman
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:lsalzman@gmail.com">lsalzman@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div text="#c0c0c0" bgcolor="#000000"><br>
<br>
Problem solved in one damned line of code. Oh, how blind I was. :(
-> :)<br>
<br>
Thoughts?<br>
<br>
</div>
</blockquote>
<div><br>
Thanks for putting in the time to make enet better :) I'll patch my
code.<br>
<br>
I realize it's a much larger change than one line but I'd really like
to see throttling adjustable on a per connection basis. That would
provide a better mechanism to react to denial of service attacks. I
could at least attempt to throttle back the offending connection with
less affect on other connections.<br>
<br>
It may be a better solution to handle this in the network firewall code
instead of enet. If anyone has any feedback on this I'd love to receive
it.<br>
<br>
<br>
</div>
</div>
<br>
---<br>
"The great thing about Object Oriented code is that it can make small,
simple problems look like large, complex ones."<br>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
ENet-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a>
<a class="moz-txt-link-freetext" href="http://lists.cubik.org/mailman/listinfo/enet-discuss">http://lists.cubik.org/mailman/listinfo/enet-discuss</a>
</pre>
</blockquote>
<br>
</body>
</html>