<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#c0c0c0" bgcolor="#000000">
On 12/20/2010 12:21 PM, Kabil Akpınar wrote:
<blockquote
cite="mid:AANLkTi=jJ3W6pnbrYWjsr7Tb_-zzWgT4ekPibsj8mYGY@mail.gmail.com"
type="cite">
<div class="gmail_quote">2010/12/20 Lee Salzman <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:lsalzman@gmail.com">lsalzman@gmail.com</a>></span><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">Problem solved in one damned
line of code. Oh, how blind I was. :(
-> :)<br>
</div>
</blockquote>
<div>So where did you put that damned one line of code? </div>
-- <br>
</div>
<div>Kabil Akpınar</div>
</blockquote>
<br>
As per commit to ENet cvs:<br>
<br>
Index: protocol.c<br>
===================================================================<br>
RCS file: /var/lib/cvs/enet/enet/protocol.c,v<br>
retrieving revision 1.34<br>
retrieving revision 1.35<br>
diff -r1.34 -r1.35<br>
1294c1294,1296<br>
< if (peer -> reliableDataInTransit + outgoingCommand
-> fragmentLength > peer -> windowSize)<br>
---<br>
> enet_uint32 windowSize = (peer -> packetThrottle *
peer -> windowSize) / ENET_PEER_PACKET_THROTTLE_SCALE;<br>
> <br>
> if (peer -> reliableDataInTransit + outgoingCommand
-> fragmentLength > ENET_MAX (windowSize, peer -> mtu))<br>
<br>
<br>
</body>
</html>