[ENet-discuss] Increase timeout delay

Ruud van Gaal ruud at racer.nl
Mon Feb 22 04:11:23 PST 2010


Hi Alexander,

 
...
> > In enet.h, modify these:
> >     ENET_PEER_TIMEOUT_MINIMUM              = 5000,
> >     ENET_PEER_TIMEOUT_MAXIMUM              = 30000,
...
> I am trying to understand what the difference between them 
> is. From the source code I understood that 
> ENET_PEER_TIMEOUT_MAXIMUM is used to make sure that if 
> nothing was heard from the peer for that amount of time, then 
> the peer disconnected. ENET_PEER_TIMEOUT_MINIMUM is used with 
> roundTripTimeoutLimit. Does it mean, that this is the timeout 
> for waiting for an acknowledgment?

I'm sorry, I never read that part long enough to really understand why there
are 2 different timeouts. I turned up both to a few minutes in one of my
projects (although a thread is really better).

Cheers,
Ruud



More information about the ENet-discuss mailing list