[ENet-discuss] If it possible to know if a packet has been delivered ?

Emmanuel Rivoire manu.n02 at laposte.net
Fri May 25 00:36:18 PDT 2012


Hello,

is there an easy way to know if a reliable packet has been delivered ?

Checking the current value of 
ENetPeer::channels[PacketChannel].outgoingReliableSequenceNumber just 
after have called enet_host_service() , and then waiting to get that 
value (or above) in 
ENetPeer::channels[PacketChannel].incomingReliableSequenceNumber 
would be enough to do the trick ?



More information about the ENet-discuss mailing list