Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - socket() fails with errno=247(EAFNOSUPPORT): (1 Item)
   
socket() fails with errno=247(EAFNOSUPPORT)  
I use QNX6.3.2 and facing some issues in socket operation.

socket() call fails with errno=247(EAFNOSUPPORT).

socket() is invoked with proper values,
AF_INET(2), SOCK_DGRAM(2), IPPROTO_UDP(17) and I verified
that all values are correct.

Somehow, the problem happens with only my load which has
multiple threads.
If I write down simple program invoking socket()
with the same arguments as the above,
socket() successes.

It seems there are not compatible libraries, etc.
linked when building my load. Honestly, I do not have clue.

I'm using -Vgcc_ntoppcbe -w0 with qcc/QCC
and using ntoppc-ld to build local libraries.

Is there anything that can affect simple socket operation?
I need to resolve the issue ASAP. So, I would appreciate
any inputs.