The
inet_ntop
function (which is another name for the ANSI function
InetNtopA
) is not available with XP. See
InetNtop function (Windows)[
^]:
Quote:
Minimum supported client Windows 8.1, Windows Vista [desktop apps | Windows Store apps
When targeting Windows XP you should set the
_WIN32_WINNT
macro to 0x0501. Then you will get a compiler error when using unsupported functions.