Hi,<br><br>What i did on my side is just adding a pointer to callback to the message command,<br>which is called when the message is acknowledged.<br><br>regards,<br>Ju<br><br><br><div class="gmail_quote">On Thu, May 7, 2009 at 11:12 AM, Nuno Silva <span dir="ltr"><<a href="mailto:little.coding.fox@gmail.com">little.coding.fox@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">@ "Is there a server somewhere where i can more interactively deal with this list":<br>
<a href="http://lists.cubik.org/mailman/options/enet-discuss/little.coding.fox%40gmail.com" target="_blank">http://lists.<span>cubik</span>.org/mailman/options/enet-discuss/ruud%40racer.nl</a><br>
<br>You should get a membership reminder every once in a while, it has a link like this one, i just edited mine to use your mail address instead.<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, May 7, 2009 at 9:25 AM, Ruud van Gaal <span dir="ltr"><<a href="mailto:ruud@racer.nl" target="_blank">ruud@racer.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thanks Lee, I'll try the clean way of just sending an ACK packet. I've also<br>
implemented Mark Palkow's suggestion to check the peer list sizes, always<br>
good to have available.<br>
<font color="#888888"><br>
Ruud<br>
</font>PS I get these mails only once a day; it seems like you're using some other<br>
mechanism than regular email to reply/manage this list. Is there a server<br>
somewhere where I can more interactively deal with this list?<br>
<div><br>
> The most straightforward way is to have the client send an<br>
> acknowledgement packet back to the server after it has<br>
> received all the necessary data from the server. Then you<br>
> need to nothing more than wait for this acknowledgement<br>
> packet. You don't need to do anything tricky or with ENet<br>
> internals for this.<br>
><br>
> Ruud van Gaal wrote:<br>
</div>...<br>
<div>> > Is there a function in ENet that will tell whether there are no<br>
> > reliable packets yet to be acknowledged? That way, if I call this<br>
> > function and it returns 0, I can assume that all setting<br>
> packets have<br>
> > arrived at the client, and I can start the game.<br>
<br>
</div><div><div></div><div>_______________________________________________<br>
ENet-discuss mailing list<br>
<a href="mailto:ENet-discuss@cubik.org" target="_blank">ENet-discuss@cubik.org</a><br>
<a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
ENet-discuss mailing list<br>
<a href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a><br>
<a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
<br></blockquote></div><br>