Socket programming

Hallo, all!

I’m trying to compile a simple program that deals with TCP/IP sockets, but
get a strange message that functions like socket, connect, rcv and so on
couldn’t be found. I’m evaluating QNX RTT 6.1, host/target - x86, compiler
qcc. Do I have to buy developmant package to work with IP stack?

Dmitry P. Androschuk <adp@texpo.kiev.ua> wrote:
: Hallo, all!

: I’m trying to compile a simple program that deals with TCP/IP sockets, but
: get a strange message that functions like socket, connect, rcv and so on
: couldn’t be found. I’m evaluating QNX RTT 6.1, host/target - x86, compiler
: qcc. Do I have to buy developmant package to work with IP stack?

No. Just link against the socket library:

cc -lsocket …


-seanb