gethostbyname replacement for IPv6 addresses

Posted by rursw1 on Stack Overflow See other posts from Stack Overflow or by rursw1
Published on 2010-04-08T10:07:25Z Indexed on 2010/04/08 10:13 UTC
Read the original article Hit count: 298

Filed under:
|
|
|

Hi,

I have a program that uses gethostbyname (in Windows) in order to convert IP address to hostname.

But, it works only for IPv4...

What is the correct replacement for IPv6?

Thanks.

© Stack Overflow or respective owner

Related posts about winapi

Related posts about network-programming