On 12/20/2010 12:21 PM, Kabil Akpınar wrote:
2010/12/20 Lee Salzman <[email protected] <mailto:[email protected]>>

    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 list
[email protected]
http://lists.cubik.org/mailman/listinfo/enet-discuss

Reply via email to