Ämne: RE: [dcdev] adc |
Från: "Jacek Sieka" <[email protected]> |
Datum: 2004-01-23 3:57 |
Till: "'Direct Connect developers'" <[email protected]> |
I do agree with you in a way, in that it does seem appealing in termsAs a bit of background, the idea comes originally from irc client-to-client
of simplicity. However, I don't think that kind of simplicity is going
to hold, since the broadcast commands still often require some
individual intelligent processing by the hub. For example, the only
two commands in ADC that truly benefit from broadcasting are, as far
as I can see, the SCH and INF commands. These already differ in my
mind, in that if the hub receives to SCH commands too close in time to
each other, it should reject the second one with an error. However, if
it requires two INF commands within one "allowed broadcast period", if
you see what I mean, it shouldn't deny the second one. It should wait
until the broadcast timer expires, and accumulate all succeeding INF
commands and then re-broadcast the final data once the client is
allowed the broadcast bandwidth again, right?
flood_timer) flood_timer = now; now += 2; if(flood_timer - now > limit)kick();) that is...which works regardless of command, and allows for a