Hi, What i did on my side is just adding a pointer to callback to the message command, which is called when the message is acknowledged.
regards, Ju On Thu, May 7, 2009 at 11:12 AM, Nuno Silva <[email protected]>wrote: > @ "Is there a server somewhere where i can more interactively deal with > this list": > http://lists.cubik.org/mailman/options/enet-discuss/ruud%40racer.nl<http://lists.cubik.org/mailman/options/enet-discuss/little.coding.fox%40gmail.com> > > 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. > > > On Thu, May 7, 2009 at 9:25 AM, Ruud van Gaal <[email protected]> wrote: > >> Thanks Lee, I'll try the clean way of just sending an ACK packet. I've >> also >> implemented Mark Palkow's suggestion to check the peer list sizes, always >> good to have available. >> >> Ruud >> PS I get these mails only once a day; it seems like you're using some >> other >> mechanism than regular email to reply/manage this list. Is there a server >> somewhere where I can more interactively deal with this list? >> >> > The most straightforward way is to have the client send an >> > acknowledgement packet back to the server after it has >> > received all the necessary data from the server. Then you >> > need to nothing more than wait for this acknowledgement >> > packet. You don't need to do anything tricky or with ENet >> > internals for this. >> > >> > Ruud van Gaal wrote: >> ... >> > > Is there a function in ENet that will tell whether there are no >> > > reliable packets yet to be acknowledged? That way, if I call this >> > > function and it returns 0, I can assume that all setting >> > packets have >> > > arrived at the client, and I can start the game. >> >> _______________________________________________ >> 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 > >
_______________________________________________ ENet-discuss mailing list [email protected] http://lists.cubik.org/mailman/listinfo/enet-discuss
