error C2065: 'inet_pton' : undeclared identifier - ipv6

This is a discussion on error C2065: 'inet_pton' : undeclared identifier - ipv6 within the Networking/Device Communication forums, part of the General Programming Boards category; Hi.
I am using Visual C++ 6.0, Windows xp and Jrtplib(Rtp library).
I have a code for ipv6 and It ...

On Windows it is called InetNtop, not inet_ntop, and it is only available on Vista or later. An alternative which is supported on earlier versions of windows is WSAAddressToString, which works all the way back to Win2k.

For best portability, don't rely on these functions at all. Implement your own version.