jinna
Newbie level 2
hello every body,
My term project based on IPv6 address incrementation using C language.I already done that part.But in case IPv6 there is lots of other format exist.
If i have ipv6 address like ::FFFF then my output becomes 0000:0000:0000:0000:0000:0000:0000:FFFF
or if my address is - 1233:6534:7651:abcd::FFFF
so out put will - 1233:6534:7651:abcd:0000:0000:0000:FFFF
I know using inet_pton function we can do it.But somehow I can't manage.
can any body help me?
My term project based on IPv6 address incrementation using C language.I already done that part.But in case IPv6 there is lots of other format exist.
If i have ipv6 address like ::FFFF then my output becomes 0000:0000:0000:0000:0000:0000:0000:FFFF
or if my address is - 1233:6534:7651:abcd::FFFF
so out put will - 1233:6534:7651:abcd:0000:0000:0000:FFFF
I know using inet_pton function we can do it.But somehow I can't manage.
can any body help me?