Thanks for the answer.
I moved "TRY_TO_CONNECT:" just before the call to enet_host_connect() and
after first connection fail function "enet_host_connect()" returns 0 - ENet
example code in that case prints "No available peers for initiating an ENet
connection.".
It is need to somehow delete previously instantiated peer at least just in
garbage collection purpose.
_______________________________________________
ENet-discuss mailing list
[email protected]
http://lists.cubik.org/mailman/listinfo/enet-discuss

Reply via email to