[ENet-discuss] Enet disconnection inconsistent received

Lee Salzman lsalzman at gmail.com
Wed Jul 12 07:24:06 PDT 2017


The amount of time it takes to disconnect depends on the measured
round-trip-time, which is an indication of how laggy the connection
is. Disconnect is not supposed to take a fixed time.

On Wed, Jul 12, 2017 at 12:31 AM, Robin <imtrobin at gmail.com> wrote:
> Hi,
>
> When I crash the server (for testing), I notice the time for client to
> receive the disconnection message, can vary between 5 seconds to 30 seconds.
>
> I'm tried various timeout in both server/client (in the while loop) e.g
>
> enet_host_service (EnetClient_, &event, 0);
> enet_host_service (EnetClient_, &event, 30);
>
> This happens even on both server/client running on local server. I would
> expect it to be consistent timing, but this is varying too big. Is there
> somewhere to debug this?
>
> --
> Robin
>
> _______________________________________________
> ENet-discuss mailing list
> ENet-discuss at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-discuss
>


More information about the ENet-discuss mailing list