[ENet-discuss] Sending big reliable message
Sebastien Robillard
s.robillard at trio-tech.com
Tue Apr 30 05:29:27 PDT 2013
I am using enet 1.3.3 and I have an issue that might be related to enet.
I am sending a reliable packet of about 3.5 mb over a local network and
it takes approximately 8 seconds to receive it, which I believe should
be much faster. I have a few questions on how enet handles these packets.
1. Do the frequency of the call to enet_host_service (on either the
sender or receiver end) matters for the time it takes to transfer the
packet ?
2. If so, would it change something if I call enet_host_service with a
timeout ? Currently I have a timeout of 0, and move on if there are no
events. enet_host_service is called every frame (~20 ms)
3. Can we play with packet or buffer sizes in the enet library to
improve the speed in my specific case ? I'm looking at defines like
ENET_HOST_RECEIVE_BUFFER_SIZE or ENET_HOST_SEND_BUFFER_SIZE
Thanks,
Sebastien
More information about the ENet-discuss
mailing list