[ENet-discuss] Prioritisation

Lee Salzman lsalzman at telerama.com
Mon Feb 2 21:21:12 PST 2004

Well, something like that would require a bit rewrite of how all packets
are handled, so needs to really wait for a 1.1 release.

For now I just want to get a 1.0 out the door some time this century so
people have a stable library to use. :)

This is something to consistently harp on me about after 1.0, though.


On Mon, Feb 02, 2004 at 02:58:14PM -0000, Jim Purbrick wrote:
> I imagine something like the retransmission scheme used for all packet
> sending. Given a target data rate and the size of the next packet, you
> calculate when the next packet should be sent and store it as the next
> transmission timeout, which you check on each service call and send the
> packet when it's due.
> Without prioritisation the packets are sent on a FIFO basis, prioritisation
> can be used to re-order the outgoing queue.
> The only difference between reliable and unreliable packets is that reliable
> packets are remembered and retransmitted, unreliable are sent once then
> forgotten about. 

More information about the ENet-discuss mailing list