[pjsip] How to compile PJSIP with IPV6 Support?
Benny Prijono
bennylp at teluu.com
Fri Nov 6 02:04:54 CST 2009
On Thu, Nov 5, 2009 at 9:18 AM, Peter Cai <newptcai at gmail.com> wrote:
> When I turned on the IPV6 support option in PJSIP, the compiler complained
> about a missing header file: tpipv6.h
>
> It seems that on windows, PJSIP depends on external libraries to support
> IPV6 and these libraries need to be installed.
>
As you can see in <pj/compat/socket.h>, that depends on which Platform
SDK version that you use. PSDK that comes with VS6 for example,
doesn't have IPv6 support so you need to download IPv6Kit.
We detect IPv6 availability with "if !defined(IPPROTO_IPV6)". This
works with PSDK 2003 and 2005, but it may be broken with later version
(PSDK has the habit of changing things).
Which Visual Studio/PSDK version that you use?
Cheers
Benny
More information about the pjsip
mailing list