Problem with socket programming

Hi all,

I am trying to run a socket programming on qnx momentics on IDE 4.7 , the code was written by someone else , it is getting compiled on his pc i was just asked to build it and run on our target. I am getting this error., The code has both <sys/types.h> and <sys.sockets.h>, but it is throwing error "undefined reference to 'accept'" ,"undefined reference to 'bind'","undefined reference to 'listen'", my pc is windows 7, could anyone tell me how to resolve this?

You are actually trying to port Unix comms code to Windows. There's just too many issues to repeat here.

Do a web search on "port socket from unix to windows"
Topic archived. No new replies allowed.