<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1515" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>No takers on this? Im also very interested in these
issues.</FONT></DIV>
<DIV><FONT face=Arial size=2>/Thomas</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=ulhas.dhuri@gmail.com href="mailto:ulhas.dhuri@gmail.com">Ulhas
Dhuri.</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=enet-discuss@cubik.org
href="mailto:enet-discuss@cubik.org">enet-discuss@cubik.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, September 08, 2005 11:31
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [ENet-discuss] Auto disconnect
at client with eventENET_EVENT_TYPE_DISCONNECT</DIV>
<DIV><BR></DIV>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>
<P>
<HR>
<P></P>_______________________________________________<BR>ENet-discuss mailing
list<BR>ENet-discuss@cubik.org<BR>http://lists.cubik.org/mailman/listinfo/enet-discuss<BR></BLOCKQUOTE></BODY></HTML>