[ENet-discuss] Enet disconnection inconsistent received (Lee Salzman)

Robin imtrobin at gmail.com
Fri Aug 4 02:01:20 PDT 2017


Hi Lee,

I have some time to revisit the issue again.Both server/client are on my 
machine, so it can take up to 30 secs for the disconnection to be 
received when either side crashes. I would assume the timing would be 
shorter, like under 5 seconds.


Robin


 >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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20170804/6bf91309/attachment.html>


More information about the ENet-discuss mailing list