[ENet-discuss] when to delete allocated buffers?
Jay Sprenkle
jsprenkle at gmail.com
Fri Dec 18 14:28:52 PST 2009
Good afternoon all,
<Newbie usage question alert>
After reading through the enet source it appears that when you send a packet
of data a structure containing a pointer to the data is queued up to send.
If I malloc() or new a buffer, fill it, then send it, how do I know when I
can safely delete it? I don't see an event for sent data, etc.
Thanks!
</Newbie usage question alert>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20091218/9245a74e/attachment.htm>
More information about the ENet-discuss
mailing list