Hi Kevin,<br><br>Thanks for the reply. The problem was that host_service not being called as occassionaly as it should be. After fixing this, it worked fine.<br>--<br>Faisal<br><br><div><span class="gmail_quote">On 1/29/07,
<b class="gmail_sendername">Kevin Gadd</b> <<a href="mailto:kevin.gadd@gmail.com">kevin.gadd@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Are you sure this is not a case of the client's connection being terminated due to client inactivity, perhaps by an ISP or router? I have never had this problem with enet. Have you tried it over a local area network?<br>
<br>It may also be that you are calling host_service with an extremely long timeout and the client process itself is timing out in such a way that it never wakes back up, but that's just speculation.<br><br><div><div>
<span class="e" id="q_11070bbcc2c12334_1"><span class="gmail_quote">
On 1/29/07, <b class="gmail_sendername">Faisal Khan</b> <<a href="mailto:faisal.nust@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">faisal.nust@gmail.com</a>> wrote:</span></span>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><span class="e" id="q_11070bbcc2c12334_3">
Hi,<br><br>I am facing a problem while sending packets from a client to
server. The problem is after some time of inactivity, server
disconnects the client. But somehow client is not being informed of
this connection break. 'peer->state' always show as connected.
(Value 4)
<br><br>Running packet capturing tool revealed that during the silent
period , server sends some packets (probably ping requests) to client
but client did not respond to these probes. <br><br>My question is, Do
we always need to send some data over time to keep this virtual
connection alive? Or am I missing something in connection setup?
<br><br>Thanks in advance!<br><br>--<br><span>Faisal
</span><br></span></div>_______________________________________________<br>ENet-discuss mailing list<br><a href="mailto:ENet-discuss@cubik.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ENet-discuss@cubik.org
</a><br><a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br><br><br></blockquote></div><br>
<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>