Or enet_host_connect(), since it is obviously a new connection attempt and
as such the previously allocated peer has no point in existence :)

2011/1/4 Jay Sprenkle <[email protected]>

> If you look at enet_host_connect() source you see it returns a peer from
> ENetHost.
> You don't need to delete the peer, the call to enet_host_destroy() will do
> that.
>
>
> 2011/1/4 Вячеслав Блинников <[email protected]>
>
> So, the question is "how to delete (destroy) an ENetPeer?" both for the
>> garbage collection purpose and to have the opportunity to create new one.
>>
>
>
> _______________________________________________
> 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

Reply via email to