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.
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
