Page 1 of 1

More IPAddress informations needed

Posted: Fri Aug 13, 2021 8:08 am
by infratec
Since I do a lot of networking stuff, I often come to a point,
where the ip address alone is not enough.
I need very often the netmask / CIDR.

Sometimes I also need the gateway.

SInce there is already a 'problem' with IPv6 addresses (a buffer/structure is behind the scene)
It would make sense to return a string or (always) a pointer to a structure instead of the IP.

Re: More IPAddress informations needed

Posted: Fri Aug 13, 2021 10:17 am
by Mijikai
+1

Re: More IPAddress informations needed

Posted: Fri Aug 13, 2021 10:25 am
by Bitblazer
+1