Hi.<br>
<br>
By any chance are you only sending packets with
&quot;enet_host_flush&quot;?&nbsp; I believe that if you use only that function
and never use &quot;enet_host_service&quot;, then your client will not respond to
the automatic keep-alive packets.&nbsp; Try using enet_host_service in
your client's main loop (at least every few seconds).<br>
<br>
Jonathan<br>
<br>
<br><br><div><span class="gmail_quote">On 11/21/05, <b class="gmail_sendername">tom m</b> &lt;<a href="mailto:email_4_forums@yahoo.com">email_4_forums@yahoo.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi,<br> I first want to thank you for this library.<br> <br> I have a client/server architecture.<br> When I create a client peer which is only sending packets to the server, it gets disconnected after approximately 52 seconds.
<br> Therefore, my Server (peer) receives an ENET_EVENT_TYPE_DISCONNECT after 52 sec.<br> So the application is working fine for 52 sec and then I have to restart it.<br> The server is only receiving the packets and processing them.
<br> <br> Any ideas?<br> I am using the code from the tutorial.<br> Thanks for your helps,<br><span class="sg"> <br> T.<br></span><span class="ad"> <br> <br> </span></div><span class="ad"><p>
                </p><hr size="1"> <a href="http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Yahoo! FareChase - Search multiple travel sites in one click.</a>

 

 
<p></p></span><br>_______________________________________________<br>ENet-discuss mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br><br><br></blockquote></div>
<br><br clear="all"><br>-- <br>Piranha are people too.