[ENet-discuss] Waiting for host.

Nuno Silva little.coding.fox at gmail.com
Tue Jan 4 10:38:29 PST 2011


It seems to be right. If it works for you, you dont need to recreate the
address.

2011/1/4 Вячеслав Блинников <slavmfm at gmail.com>

> Now everything works fine. Thank you!
>
> P.S. I put code
>
>
>     const char* url    = "localhost";
>>     const int port    = 1301;
>>
>>     ENetAddress address;
>>     /* Connect to url:port. */
>>     enet_address_set_host(&address, url);
>>     address.port    = port;
>>
> before all connections attempts - is it right - it not it need to recreate
> ENetAddress after each unsuccessfull connection attempt?
>
> _______________________________________________
> ENet-discuss mailing list
> ENet-discuss at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20110104/0f6c3f72/attachment.html>


More information about the ENet-discuss mailing list