On 1/1/14 8:56 PM, Ashish wrote:

This is regarding server being developed on Windows. My server is going
to store IP address of itself to a shared location. (So that if multiple
servers are running, they can communicate with each other using those
stored addresses)

But I didn't find any function in lubuv to get IP address of current
server (I am passing "0.0.0.0" to uv_ip4_addr)

Plz help.


Once you initialize and bind your TCP handle you can use uv_tcp_getsockname to get its address.

--
Saúl Ibarra Corretgé
http://bettercallsaghul.com

--
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to