At 20:17 25/05/2012, you wrote:
Oh, I just thought of one other way, that doesn't even require
hacking into the library. Just set the freeCallback in the packet.
There are only two cases a reliable packet ever actually gets freed:
when all queues it has been entered into finally sent it, or if the
connection got disconnected before that happened. Either way, the
freeCallback was actually put in for subversive purposes like this.
Ok thanks, good simple solution !
And yup, my wording had been a bit approximative, it should have read
: " is there an easy way to know if a reliable packet has been
delivered to its target peer ? " ..! ;-)
_______________________________________________
ENet-discuss mailing list
[email protected]
http://lists.cubik.org/mailman/listinfo/enet-discuss