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 - Problem with sockets: Page 1 of 3 (3 Items)
   
Problem with sockets  
I'm trying to use a server socket in a process, the code compiles without errors or warnings, however when I run it I 
get:

ESRCH No such process

This is after creating the socket:

errno = EOK;
intSocket = socket( AF_INET, SOCK_STREAM, 0 );
intErr = errno;
printf( "ERROR = %s\n", strerror(intErr) );

According to the hellp http://www.qnx.com/developers/docs/6.3.0SP3/neutrino/lib_ref/s/socket.html

This isn't an error listed for this routine.  What do I need to do to resolve this problem?

I've checked /bin, libsocket.so, libsocket.so.2, npm-tcpip-v4.so and npm_tcpip.so are all present.

Thank you