sockets

I am a new to sockets and trying to use them on QNX 6.3 SE. I have included
<sys/socket.h> and <sys/types.h> in my source file and then called the
function “socket”. However, i get a compiler error saying “function
definition not found”.

What am i missing?

Thanks
Shashank

You have to be more precise about your errors and better post your code too.
And don’t confuse compiler and linker errors - if you are getting a linker
error, you’re probably missing the sockets library (-l socket).

“Shashank” <sbalijepalli@precitech.com> wrote in message
news:dc5ipq$8su$7@inn.qnx.com

I am a new to sockets and trying to use them on QNX 6.3 SE. I have included
sys/socket.h> and <sys/types.h> in my source file and then called the
function “socket”. However, i get a compiler error saying “function
definition not found”.

What am i missing?

Thanks
Shashank