Function prototypes for inet_ntop/inet_pton are not included in the headers. The functions are included in libws2_32.a, and work.
This prototype worked for me:
WINSOCK_API_LINKAGE const char inet_ntop(int af, const void src, char *dst, socklen_t size);
Correction: prototype should be:
WINSOCK_API_LINKAGE const char WSAAPI inet_ntop(int af, const void src,
char *dst, socklen_t size);
I would also like to use inet_ntop and inet_pton, but cannot get it to work with your prototype.