[ENet-discuss] a lot of packets => disconnect

Ruud van Gaal ruud at racer.nl
Thu Aug 6 05:31:41 PDT 2009


...
> The result is always a bit different. Normally ~30 seconds 
> pass until suddenly one of the clients doesn't receive 
> packets anymore although the server is still forwarding them. 
> The same client that receives no packates anymore can still 
> send packates to the server. After some time the same happens 
> on the second client and then (not always) the disconnected 
> event is called on the clients.

Are you sure you didn't just initiate multiple connect attempts at the
client?
I have a scheme here for example where you attempt a connect every few
seconds. However, the peers that don't make it return after around this
period with a DISCONNECT event, although the event pertains to another peer
than your connection.
Still, it would seem strange that packets don't come in anymore after the
disconnect.

Another attempt would be to reduce the framerate (or sending rate) a little,
to see if you're not overflowing any outgoing reliable buffers or such. Vary
the situation a bit.

Cheers,
Ruud



More information about the ENet-discuss mailing list