Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

inet_pton problem in C

Status
Not open for further replies.

jinna

Newbie level 2
Joined
Nov 29, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,295
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?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top