David Chen
|
socket() fails with EAFNOSUPPORT(247)
|
David Chen
10/23/2010 10:26 AM
post72130
|
socket() fails with EAFNOSUPPORT(247)
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.
|
|
|