You dont need to delete any peers, there's no way to do that anyway. If you notice, it returns 0 when it fails, maybe it could not connect to the address. Try to reconnect a few more times instead of just closing the program with return 0.<br>
<br><div class="gmail_quote">2011/1/4 Вячеслав Блинников <span dir="ltr"><<a href="mailto:slavmfm@gmail.com">slavmfm@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
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.<br>
<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>