[ENet-discuss] Connection drops randomly
Ruud van Gaal
ruud at racer.nl
Tue May 1 04:00:21 PDT 2012
I think ENet will send some adminstrative packets now & then, but if you
never call enet_host_service() every second or so, you're bound to get
See also the discussion on ENET_PEER_TIMEOUT_MINIMUM and
ENET_PEER_TIMEOUT_MAXIMUM that went on just these last few days.
Just pinging a bit should be ok (sending out a packet that does nothing).
On Tue, May 1, 2012 at 11:48 AM, Nuno Silva <little.coding.fox at gmail.com>wrote:
> I was working on a game and had multiplayer working (I only use Reliable
> packets, but they're not sent very often), however on several PCs the game
> would just drop the connection randomly. Is there any particular reason for
> this to happen? I'm wondering if it has anything to do with each player
> idling as they think of a move. Should I ping each other to keep the
> connection alive?
> ENet-discuss mailing list
> ENet-discuss at cubik.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ENet-discuss