[ENet-discuss] ENet - desconnection in 30 seconds after connection.

Nuno Silva little.coding.fox at gmail.com
Fri Nov 5 08:39:26 PDT 2010


Because enet sends a message to the peer you're connected to, and you have
to wait a bit 'till the message is sent. 50ms of enet_host_service should do
it.

2010/11/5 Вячеслав Блинников <slavmfm at gmail.com>

> How does server initiate disconnection? I thought that there are no
> messages between client and server except sending data - so in idle
> state (if even we will call the "enet_host_service()" function) no
> messages are sent to server but when we call this function (as you
> adviced me and it helped me very much) server DOES NOT initiate the
> disconnection. Why it happens?
> _______________________________________________
> 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/20101105/00645d80/attachment-0001.html>


More information about the ENet-discuss mailing list