I have Windows xp and Visual C++ 6.0 with sdk.
i have ipv6 address as like "fe80::20f:eaff:fe5d:25b0"

How to get in6_addr structure for the above ip address ?.

Thanks in Advance

i know for ipv4, we have "inet_addr" Function

The inet_addr function converts a string containing an IPv4 dotted-decimal address into a proper address for the IN_ADDR structure.

Is there any API for ipv6?.