It seems to be right. If it works for you, you dont need to recreate the address.<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;">Now everything works fine. Thank you!<br><br>P.S. I put code<div class="im"><br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
const char* url = "localhost";<br>
const int port = 1301;<br> <br> ENetAddress address;<br> /* Connect to url:port. */<br> enet_address_set_host(&address, url);<br> address.port = port;<br></blockquote></div><div>before all connections attempts - is it right - it not it need to recreate ENetAddress after each unsuccessfull connection attempt? <br>
</div>
<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>