<div id="RTEContent">Hi Jonathan,<br> Thank you very much. You are completely right!!!<br> I was using only enet_host_flush in my client. <br> So now I have added a enet_host_service in my client and it is working perfectly.<br> Thank you again for your help and your fast reply,<br> <br> Tom.<br><br><b><i>LoneSock &lt;lonesock@gmail.com&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi.<br> <br> By any chance are you only sending packets with "enet_host_flush"?&nbsp; I believe that if you use only that function and never use "enet_host_service", 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"><div>   </div><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>       <div></div></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. _______________________________________________<br>ENet-discuss mailing
 list<br>ENet-discuss@cubik.org<br>http://lists.cubik.org/mailman/listinfo/enet-discuss<br></blockquote><br></div><p>
                <hr size=1> <a href="http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/">Yahoo! FareChase - Search multiple travel sites in one click.</a>