On Fri, May 25, 2012 at 2:26 PM, Lee Salzman <[email protected]> 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 <[email protected]> > 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 > [email protected] > http://lists.cubik.org/mailman/listinfo/enet-discuss > _______________________________________________ ENet-discuss mailing list [email protected] http://lists.cubik.org/mailman/listinfo/enet-discuss
