See also enet.h:<br><br>   ENET_PEER_TIMEOUT_MINIMUM              = 5000,<br>   ENET_PEER_TIMEOUT_MAXIMUM              = 30000,<br><br>Not sure what the minimum means anymore; normally I'd assume here that indeed 30000 ms (30 s) is the timeout.<br>
<br>Ruud<br><br><div class="gmail_quote">On Thu, Aug 11, 2011 at 4:07 PM, Jay Sprenkle <span dir="ltr"><<a href="mailto:jsprenkle@gmail.com">jsprenkle@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div><div></div><div class="h5">On Thu, Aug 11, 2011 at 8:54 AM, Pontus Bergsten <span dir="ltr"><<a href="mailto:pontus_bergsten@yahoo.se" target="_blank">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 border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font:inherit" valign="top">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></div></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>


<br>_______________________________________________<br>
ENet-discuss mailing list<br>
<a href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a><br>
<a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
<br></blockquote></div><br>