<br><div class="gmail_quote">2013/2/25 BS Flasher <span dir="ltr"><<a href="mailto:bsflasher@gmail.com" target="_blank">bsflasher@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br>
Thanks for quick answer but I don't understand your mean of refcount !<br>
Can you please send some code about your solution?<br></blockquote><div><br><br>// starts with packet->referenceCount set to 0<br>ENetPacket* packet = enet_packet_create( ...);<br>++ packet->referenceCount;<br>store_pointer_somewhere( packet);<br>

<br>// increments packet->referenceCount<br>enet_packet_send( peer, packet, ...<br><br>Then
 later, scan all stored ENetPacket pointers; Each packet with 
referenceCount == 1 was received. Do what you want, and don't forget to 
call enet_packet_destroy(), since ENet didn't do it for you (because 
refcount didn't go down to 0 inside enet_host_service().<br><br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Also, is there another way to check acknowledgement of every packet?<br></blockquote><div><br>Not that I know of. But it is simple enough :-).<br clear="all"></div></div><br>-- <br>Benoit.<br>