Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #14377

Question : inet_pton

From joao <joao82@simpmail.com.br>
Newsgroups comp.lang.c
Subject Question : inet_pton
Date 2011-12-07 21:54 +0000
Organization Aioe.org NNTP Server
Message-ID <jbonab$4qo$1@speranza.aioe.org> (permalink)

Show all headers | View raw


Dears friends

Do you give me an advise for expand IPv6 adresses with inet_pton() ? I 
need expand then increment in 1 and display.

I am having this :

unsigned char addr[16] = inet_pton(AF_INET6,"1234:12::ffff",&addr) ;

but he no work.

Many Thanks !

Back to comp.lang.c | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Question :  inet_pton joao <joao82@simpmail.com.br> - 2011-12-07 21:54 +0000
  Re: Question :  inet_pton Ian Collins <ian-news@hotmail.com> - 2011-12-08 11:02 +1300
  Re: Question :  inet_pton Ike Naar <ike@sverige.freeshell.org> - 2011-12-07 22:45 +0000
    Re: Question :  inet_pton Ike Naar <ike@sverige.freeshell.org> - 2011-12-07 22:48 +0000

csiph-web