error C2065: 'inet_pton' : undeclared identifier - ipv6
Hi.:D
I am using Visual C++ 6.0, Windows xp and Jrtplib(Rtp library).
I have a code for ipv6 and It compile right in Linux, but It doesn't compile in windows.
the error is:
Quote:
f:\jrtplib_examples\example1_ipv6\ejemplo1_ipv6.cp p(63) : error C2065: 'inet_pton' : undeclared identifier
f:\jrtplib_examples\example1_ipv6\ejemplo1_ipv6.cp p(67) : error C2065: 'inet_ntop' : undeclared identifier
f:\jrtplib_examples\example1_ipv6\ejemplo1_ipv6.cp p(75) : error C2065: 'RTPUDPv6TransmissionParams' : undeclared identifier
f:\jrtplib_examples\example1_ipv6\ejemplo1_ipv6.cp p(75) : error C2146: syntax error : missing ';' before identifier 'transparamsv6'
f:\jrtplib_examples\example1_ipv6\ejemplo1_ipv6.cp p(75) : error C2065: 'transparamsv6' : undeclared identifier
f:\jrtplib_examples\example1_ipv6\ejemplo1_ipv6.cp p(79) : error C2228: left of '.SetPortbase' must have class/struct/union type
f:\jrtplib_examples\example1_ipv6\ejemplo1_ipv6.cp p(84) : error C2065: 'RTPIPv6Address' : undeclared identifier
f:\jrtplib_examples\example1_ipv6\ejemplo1_ipv6.cp p(84) : error C2146: syntax error : missing ';' before identifier 'addr_v6'
f:\jrtplib_examples\example1_ipv6\ejemplo1_ipv6.cp p(84) : error C2065: 'addr_v6' : undeclared identifier
Error executing cl.exe.
Creating browse info file...
Example1_ipv6.exe - 9 error(s), 52 warning(s)
Somebody can help me?