Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - IPV6 support in QNX6.5: Page 1 of 11 (11 Items)
   
IPV6 support in QNX6.5  
Hi,

I'm testing our product on QNX6.5, and I see some failures caused by the IPV6 support.

Here is the issue, our product is using getaddrinfo to get the address, and the function can return two addresses, one 
for IPV4, and one for IPV6.

But the issue is that, there seems to be no way to create a IPV6 socket. I've tried the following 3 ways to create the 
socket, but each way fails.

fd = socket(AF_INET6, SOCK_STREAM, IPPROTO_IP);
fd = socket(AF_INET6, SOCK_STREAM, IPPROTO_IPV6);
fd = socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP);

So, does anyone know how to enable IPV6 support ?  It seems to say that, IPV6 support is not turned on for some licenses
, is that true ?

Thanks
-W