[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
drops indeed.
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).
Ruud
On Tue, May 1, 2012 at 11:48 AM, Nuno Silva <little.coding.fox at gmail.com>wrote:
> Hello,
> 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
> http://lists.cubik.org/mailman/listinfo/enet-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20120501/4d2ba315/attachment.html>
More information about the ENet-discuss
mailing list