public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
* inet_net_pton() alternative for IPv6
@ 2022-07-04 18:07 Ian Pilcher
  2022-07-04 18:23 ` tomas
  2022-07-04 18:34 ` Florian Weimer
  0 siblings, 2 replies; 7+ messages in thread
From: Ian Pilcher @ 2022-07-04 18:07 UTC (permalink / raw)
  To: libc-help

I am searching for the best way to parse both IPv4 and IPv6 CIDR-
formatted addresses.  I have found inet_net_pton(), but it only supports
IPv4 (AF_INET) addresses.

Needless to say, this is pretty disappointing in 2022.  Is there an
alternative API that I should be using, or am I stuck writing my own?

Thanks!

-- 
========================================================================
Google                                      Where SkyNet meets Idiocracy
========================================================================


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-07-06  5:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-04 18:07 inet_net_pton() alternative for IPv6 Ian Pilcher
2022-07-04 18:23 ` tomas
2022-07-05 23:58   ` Ian Pilcher
2022-07-06  5:04     ` tomas
2022-07-04 18:34 ` Florian Weimer
2022-07-04 19:34   ` Ian Pilcher
2022-07-04 19:57     ` Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).