[ENet-discuss] Packet throttling: it's the little things...

Nuno Silva little.coding.fox at gmail.com
Mon Dec 20 04:54:23 PST 2010


The guys at SFML have something like that too. might be helpful to have the
latest stable release + latest snapshot downloads at ENet's website. KUDOS
on the fix, btw!

On Mon, Dec 20, 2010 at 12:47 PM, Philip Bennefall <philip at blastbay.com>wrote:

>  Got it, thanks!
>
> How about having an autogenerated snapshot each day that is linked to on
> the site? Just a thought.
>
> Kind regards,
>
> Philip Bennefall
>
> ----- Original Message -----
> *From:* Lee Salzman <lsalzman at gmail.com>
> *To:* philip at blastbay.com ; Discussion of the ENet library<enet-discuss at cubik.org>
> *Sent:* Monday, December 20, 2010 4:56 AM
> *Subject:* Re: [ENet-discuss] Packet throttling: it's the little things...
>
> There is a snapshot of today's CVS repo here:
> http://lee.fov120.com/enet-Dec-20-2010.tar.gz
>
> On 12/20/2010 12:53 PM, Philip Bennefall wrote:
>
> Hi Lee,
>
> Would you be able to provide a link on the ENet website that retrieves
> something like a tarball with the latest revision? I have trouble
> accessing cvs a lot of the time so something like that would really help me
> a lot. I'd like to put this update into my game engine.
>
> Thanks!
>
> Kind regards,
>
> Philip Bennefall
>
> ----- Original Message -----
> *From:* Lee Salzman <lsalzman at gmail.com>
> *To:* Discussion of the ENet library <enet-discuss at cubik.org>
> *Sent:* Monday, December 20, 2010 3:48 AM
> *Subject:* Re: [ENet-discuss] Packet throttling: it's the little things...
>
> On 12/20/2010 12:21 PM, Kabil Akpınar wrote:
>
> 2010/12/20 Lee Salzman <lsalzman at gmail.com>
>
>> Problem solved in one damned line of code. Oh, how blind I was. :( -> :)
>>
> So where did you put that damned one line of code?
> --
> Kabil Akpınar
>
>
> As per commit to ENet cvs:
>
> Index: protocol.c
> ===================================================================
> RCS file: /var/lib/cvs/enet/enet/protocol.c,v
> retrieving revision 1.34
> retrieving revision 1.35
> diff -r1.34 -r1.35
> 1294c1294,1296
> <           if (peer -> reliableDataInTransit + outgoingCommand ->
> fragmentLength > peer -> windowSize)
> ---
> >           enet_uint32 windowSize = (peer -> packetThrottle * peer ->
> windowSize) / ENET_PEER_PACKET_THROTTLE_SCALE;
> >
> >           if (peer -> reliableDataInTransit + outgoingCommand ->
> fragmentLength > ENET_MAX (windowSize, peer -> mtu))
>
>
>
> _______________________________________________
> ENet-discuss mailing listENet-discuss at cubik.orghttp://lists.cubik.org/mailman/listinfo/enet-discuss
>
>
>
> _______________________________________________
> 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/20101220/e25ec435/attachment-0001.html>


More information about the ENet-discuss mailing list