IPv6 address ?????????
Hi,
To check IPv4 address, we are having inet_addr(). For IPv6 address ? I want to check IPv6 address ,after entring manually.... any help????????? |
This comes from the libc manual,
Code:
#include <arpa/inet.h> |
Hi,
I am entring ipv6 address manually... I want to check like inet_addr(ipaddr)... how can I use this one? |
Just like the docs say, I included a minimal example. When all goes well, 0 is returned, else -1 is returned.
Code:
struct in6_addr output; |
All times are GMT -5. The time now is 12:23 PM. |