but the modifications were relatively simple and straightforward.
format strings: %I IP address %#I IP address in hexadecimal %1I IP address padded to full length %m strerror(errno)