<div class="gmail_quote">On Thu, Aug 11, 2011 at 8:54 AM, Pontus Bergsten <span dir="ltr"><<a href="mailto:pontus_bergsten@yahoo.se">pontus_bergsten@yahoo.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">Consider the case when two ENet nodes communicates over a network where transient failures are common, e.g. a bad WiFi connection.<br>
<br>If one node receives a DISCONNECT event from ENet, is one guaranteed that the disconnected remote node will also receive a DISCONNECT event?<br><br>Or is there a possibility that one ENet node could consider the connection broken for a short while, while the other node will consider the connection alive during the transient network outage?<br>
</td></tr></tbody></table></blockquote><div><br></div><div><br></div>This is always a problem for anything using a network. There's nothing specific to ENet or networking. If a system crashes/gets physically disconnected then the ENet library will time out and consider the system disconnected. I believe the time is set to 30 seconds by default.</div>
<div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div>---<br>"There's a zombie outbreak!  Oh, no, wait a second...  It's just a bunch of kids texting."<br>