[ENet-discuss] keeping connection alive while stopped in debugger
Grant Mills
Grant_Mills at affirmednetworks.com
Mon Apr 30 13:44:39 PDT 2012
Hi James
in the include/enet/enet.h file. Increase the ENET_PEER_TIMEOUT_MINIMUM. It will be a value like "5000". This is 5 seconds. The upper bound (ENET_PEER_TIMEOUT_MAXIMUM) is around 30000. I would just boost both to 300000 then rebuild the enet libraries.
/grant
On Apr 30, 2012, at 4:20 PM, James B wrote:
Is there anyway to increase timeouts so that when I am debugging my game (and stopped program execution in the debugger), enet does not drop the connection? I would like to increase timeouts to 1-5 minutes if possible.
James
_______________________________________________
ENet-discuss mailing list
ENet-discuss at cubik.org<mailto:ENet-discuss at cubik.org>
http://lists.cubik.org/mailman/listinfo/enet-discuss
---
Bug in my software
Disappears when in testing
Curse you, Heisenberg
grant_mills at affirmednetworks.com<mailto:grant_mills at affirmednetworks.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20120430/b0f650b5/attachment.html>
More information about the ENet-discuss
mailing list