Make sure you're servicing/polling your hosts frequently. I've experienced issues when sending off too many packets at once (in the neighborhood of thousands of packets) without servicing/polling in the interim; I think because the amount of time it then takes to service and dispatch all the packets is long enough for the connections to time out.
<br><br>Is this the use case you're having a problem with? Or is it more of an issue that arises after the application has been running for a long time? If it occurs after the app's been running for a long time, I would tend to suspect a bug or memory leak or scaling issue in your software, not a bug in enet (though anything's possible). I assume you're running in debug mode and checking for access violations, etc.?
<br><br><div><span class="gmail_quote">On 10/5/07, <b class="gmail_sendername">Lee Salzman</b> <<a href="mailto:lsalzman1@cox.net">lsalzman1@cox.net</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;">
If by freeze you mean an actual lockup in the server, then it is most<br>likely something in your code. I've never observed any kind of hard<br>lockup in ENet in 6 years.<br><br>Lee<br><br>GhostManZero wrote:<br>> I've been having quite a bad problem with ENet, depending on the
<br>> ammount of data i send to myself (summoning multiple client programs<br>> to connect to a server program and constantly sending messages to the<br>> server), after awhile my server program simple freezes and all clients
<br>> may even get disconnection events (its not certain).<br>><br>> I'd like to know what could cause such behaviour, besides my own<br>> programming. I'm using ENet 1.1 on a C++ program.<br>><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">http://lists.cubik.org/mailman/listinfo/enet-discuss
</a><br></blockquote></div><br>