Hi! <br>
<br>
Looking for any active enetian, who could help out :),<br>
<br>
I was doing some stress testing for enet library on my LAN .<br>
<br>
1> I use Enet Server to to accept 2000 clients and send them small test data and also receive small <br>
test data. (In Infinte loop ) at interval of 1 second.<br>
<br>
2> I use Enet multithreaded program which spawns
300 test clients sending/receiving some test data at interval of
1 second .<br>
<br>
<br>
Now it happens that the slowly client's connection breaks down
posting event ENET_EVENT_TYPE_DISCONNECT , where as the server didn't
disconnect the client .<br>
<br>
<br>
On a Lan under ideal circumstances, there should be no such TIMEOUT .I
further tried to explore into enet code and did the following stuff:<br>
<br>
1>set in enet.h
ENET_PEER_TIMEOUT_LIMIT
= 64<br>
<br>
2>protocol.c line no :913 , if (outgoingCommand -> roundTripTimeout >= (<span>outgoingCommand</span> -> <span>roundTripTimeoutLimit</span>
)*400)<br>
ie. increased the <span>roundTripTimeoutLimit</span> by 400 times<br>
<br>
3>tried out <br>
enet_peer_throttle_configure(*tempIter,5000,10,500);<br>
<br>
but all in vain .<br>
<br>
<br>
Could some one with a good understanding on enet post some solution to
this problem and throw some more light on
enet_peer_throttle_configure() making it usage more clear<br><br clear="all"><br>-- <br>Warm Regards,<br> <br> Ulhas
. S . Dhuri<br>