/* #ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later. #define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows. #endif */This avoid overriding the builtin defines for these and will use the latest which has inet_ntop() and many other functions.
Programming Tips - Win32: inet_ntop() not found
Date: 2023mar2 Platform: win32 Language: C/C++ Q. Win32: inet_ntop() not found A. For me, commenting out _WIN32NT in stdafx.h worked: