[ENet-discuss] enet 1.3.6 dll for .net

Lee Salzman lsalzman at gmail.com
Wed Feb 27 06:35:34 PST 2013


Okay, ENET_PACKET_FLAG_SENT lives! MUAHAHAUAHA... er, anyway, it's in. :)


On Wed, Feb 27, 2013 at 4:23 PM, Lee Salzman <lsalzman at gmail.com> wrote:

> This gave me a stupid idea, that seems like an ideal solution...
>
> Technically with the freeCallback you can't distinguish between sent or
> dropped packets without some hackery. But there is a stupid simple way to
> support this...
>
> I could just add something like ENET_PACKET_FLAG_SENT, which gets added
> onto the packet's flags when it's reference count drops to zero from the
> send queue.
>
> This way you can just check in the freeCallback if it got sent or not by
> looking at the flags. This will be in git shortly. :)
>
>
> On Wed, Feb 27, 2013 at 4:10 PM, Thorbjørn Lindeijer <bjorn at lindeijer.nl>wrote:
>
>> On Wed, Feb 27, 2013 at 2:50 PM, Syed Setia Pernama <syedhs at yahoo.com>
>> wrote:
>> > Here is the thread:
>> > http://lists.cubik.org/pipermail/enet-discuss/2012-May/thread.html#1888
>> > And then answer (a bit hack):-
>> > http://lists.cubik.org/pipermail/enet-discuss/2012-May/001887.html
>>
>> To avoid confusion, the answer about using freeCallback was actually over
>> here:
>>
>> http://lists.cubik.org/pipermail/enet-discuss/2012-May/001888.html
>>
>> Cheers,
>> Bjørn
>> _______________________________________________
>> ENet-discuss mailing list
>> ENet-discuss at cubik.org
>> http://lists.cubik.org/mailman/listinfo/enet-discuss
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20130227/d51fb9ad/attachment.html>


More information about the ENet-discuss mailing list