Gnulib module: —
Portability problems fixed by Gnulib:
Portability problems not fixed by Gnulib:
inet_ntoafunction need not be reentrant, and consequently is not required to be thread safe. Implementations of
inet_ntoatypically write the timestamp into static buffer. If two threads call
inet_ntoaat roughly the same time, you might end up with the wrong date in one of the threads, or some undefined string.
inet_ntoa is specific for IPv4 addresses.
A protocol independent function is