[ENet-discuss] If it possible to know if a packet has been delivered ?
lsalzman at gmail.com
Fri May 25 05:26:52 PDT 2012
ENET_EVENT_TYPE_RECEIVE. Don't be silly, man. :)
On Fri, May 25, 2012 at 12:36 AM, Emmanuel Rivoire <manu.n02 at laposte.net>wrote:
> 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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ENet-discuss