I have an IP address stored in in_addr_t
and I want to create the corresponding string representation of this data type (e.g. in_addr_t
to 10.0.0.1
).
How can I do that?
Use inet_ntop()
- convert IPv4 and IPv6 addresses from binary to text form.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With