[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
inet_ntoa
- Subject: inet_ntoa
- From: [email protected] (Jan Willem Knopper)
- Date: Sat, 1 Jul 2000 09:40:42 +0200 (CEST)
- In-reply-to: <[email protected]> from Julio Baixauli at "Jun 30, 2000 12:45:11 pm"
> Hello!
>
> Is there any function that works as 'char *inet_ntoa(struct in_addr
> in);' but with IPv6 addresses (struct in6_addr)?
>
> (I'm interested in Linux version)
It is stated in RFC 2133 section 6.5:
int inet_pton(int af, const char *src, void *dst);
const char *inet_ntop(int af, const void *src,
char *dst, size_t size);
(for documentation read that RFC,
ftp://ftp.ipv6.org/pub/rfc/rfc2133.txt)
Jan Willem
P.S. Is this on topic here ?