Project Home
Project Home
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 - bind() to "127.0.0.x" (x > 1): Page 1 of 3 (3 Items)
   
bind() to "127.0.0.x" (x > 1)  
Hi

I'm trying to bind a socket to "127.0.0.2" (port 10001), but failing with errno == EADDRNOTAVAIL, "Can't assign 
requested address"...

It obviously works with the normal default localhost 127.0.0.1, but seems to fail for any other 127.0.0.x address.

It's is my impression that it should work and it works on Windows. Am I missing a route?

Best Regards
Poul Christiansen