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

Thorbjørn Lindeijer bjorn at lindeijer.nl
Fri May 25 05:32:21 PDT 2012


On Fri, May 25, 2012 at 2:26 PM, Lee Salzman <lsalzman at gmail.com> wrote:
> ENET_EVENT_TYPE_RECEIVE. Don't be silly, man. :)

That is "a packet has been received from a peer", while I'm sure
Emmanuel was asking about a way of knowing whether a sent packet has
arrived at the target peer. :)

- Bjørn

> 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 ?
>>
>
> _______________________________________________
> ENet-discuss mailing list
> ENet-discuss at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-discuss
>


More information about the ENet-discuss mailing list