<font size=2 face="sans-serif">I've been investigating a system with two
Enet hosts under bad network conditions, and noticed  a spurious disconnect
at the server.</font>
<br>
<br><font size=2 face="sans-serif">I've used Enet v.1.3.13 and for simulating
bad network I've used netem with configuration "delay 100ms 100ms
5% loss random 45% corrupt 35%"</font>
<br><font size=2 face="sans-serif">which means a delay of all packets of
100ms a random loss of 45% for all packets and 35% of all packets are corrupt.</font>
<br>
<br><font size=2 face="sans-serif">At first, the network is good and both
client and server connects to each other, Enet reports </font><font size=2>ENET_EVENT_TYPE_CONNECT</font><font size=2 face="sans-serif">.</font>
<br>
<br><font size=2 face="sans-serif">Then I apply the bad network and both
the client and the server disconnects, Enet reports </font><font size=2>ENET_EVENT_TYPE_DISCONNECT
</font><font size=2 face="sans-serif">on both client and server.</font>
<br>
<br><font size=2 face="sans-serif">When the bad network conditions are
restored, at first, everything seems to work fine. Enet reports </font><font size=2>ENET_EVENT_TYPE_CONNECT</font><font size=2 face="sans-serif">
 for both client and server. </font>
<br><font size=2 face="sans-serif">But then, after some second, I will
get a spurios </font><font size=2>ENET_EVENT_TYPE_DISCONNECT </font><font size=2 face="sans-serif">on
the server side only. The client still thinks everything is up and running.</font>
<br><font size=2 face="sans-serif">And I'm stuck in a state that I can
only get out from by restarting one of the applications(either the server
or the client doesn't matter)</font>
<br><font size=2 face="sans-serif">This happens almost everytime.</font>
<br>
<br><font size=2 face="sans-serif">I have also noted that if I apply really
bad network, for example a random loss of 95% of all packets, and the restore.
Then, I havn't seen this strange disconnect.<br>
</font><font size=2 face="Arial"><br>
Best regards, </font>
<table>
<tr valign=top>
<td>
<td>
<td>
<td>
<tr valign=top>
<td colspan=4><font size=3 color=#00a1e0 face="Arial"><b><i>Kristin Nielsen</i></b></font><font size=1 face="Arial">
</font><font size=1 face="Arial"><b><i><br>
Software Developer LHD Applications</i></b></font><font size=1 face="Arial">
</font><font size=1 face="Arial"><b><i><br>
Rocktec Division</i></b></font><font size=1 face="Arial"> </font>
<hr noshade>
<tr valign=top>
<td colspan=4><font size=1 color=#2f2f2f face="Arial">Atlas Copco Rock
Drills AB </font>
<tr valign=top>
<td><font size=1 color=#00a1e0 face="Arial"><b>Address: </b></font>
<td><font size=1 color=#2f2f2f face="Arial">Klerkgatan 21 <br>
701 91 Örebro <br>
Sweden <br>
</font>
<td><font size=1 color=#00a1e0 face="Arial"><b>Phone:</b> </font>
<td><font size=1 color=#2f2f2f face="Arial">+46 019 768 25 85 </font>
<tr valign=top>
<td>
<td>
<td>
<td>
<tr valign=top>
<td><font size=1 color=#00a1e0 face="Arial"><b>E-mail: </b></font>
<td><a href=mailto:kristin.nielsen@se.atlascopco.com><font size=1 color=#2f2f2f face="Arial">kristin.nielsen@se.atlascopco.com</font></a><font size=1 color=#2f2f2f face="Arial">
</font>
<td><font size=1 color=#00a1e0 face="Arial"><b>Visit us at: <br>
Follow us at:</b></font><font size=1 face="Arial"> </font>
<td><a href=http://www.atlascopco.com/ target=_blank><font size=1 color=#2f2f2f face="Arial">http://www.atlascopco.com</font></a><font size=1 color=#2f2f2f face="Arial"><i><br>
</i></font><a href=https://www.facebook.com/atlascopco target=_blank><font size=1 color=#2f2f2f face="Arial"><i>Facebook
</i></font></a><font size=1 color=#2f2f2f face="Arial">/ </font><a href=https://twitter.com/AtlasCopcoGroup target=_blank><font size=1 color=#2f2f2f face="Arial"><i>Twitter
</i></font></a><font size=1 color=#2f2f2f face="Arial">/ </font><a href="http://www.linkedin.com/company/atlas-copco" target=_blank><font size=1 color=#2f2f2f face="Arial"><i>LinkedIn
</i></font></a><font size=1 color=#2f2f2f face="Arial">/ </font><a href=http://www.youtube.com/user/atlascopcogroup target=_blank><font size=1 color=#2f2f2f face="Arial"><i>YouTube</i></font></a><font size=1 color=#2f2f2f face="Arial">
</font>
<tr>
<td colspan=2><font size=1 color=#00a1e0 face="Arial"><b>Committed to sustainable
productivity              </b></font>
<td colspan=2></table>
<br>
<table>
<tr valign=top>
<td><a href=http://www.atlascopco.com.cn/cnus/atlascopcogroup/ target=_blank><img src=cid:_1_0A59A4240A59A050004C8C18C1257E68 alt="Atlas Copco"></a></table>
<br>