[ENet-discuss] If it possible to know if a packet has been delivered ?
Lee Salzman
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:
> 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 ?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20120525/44877f0e/attachment.html>
More information about the ENet-discuss
mailing list