when I write some code with functions of socket,some error will occurr.
The error is that “gcc don’t find the function of socket”, perhaps I must
link some library.
But how should I do when I link the right library?
I wish some gentleman tell me, a lot of thanks.
when I write some code with functions of socket,some error will occurr.
The error is that “gcc don’t find the function of socket”, perhaps I must
link some library.
But how should I do when I link the right library?
Thank you very much firstly.
But when I used the function “socketpair()”,the compile error is that “the
function socketpair is not to be found”,even if I linked the library
“-lsocket”.Who would tell me how to use the function “socketpair()” in QNX.
Thank you very much firstly.
But when I used the function “socketpair()”,the compile error is that “the
function socketpair is not to be found”,even if I linked the library
“-lsocket”.Who would tell me how to use the function “socketpair()” in QNX.
/home/seanb >nm /lib/libsocket.so | grep socketpair
000197b4 T socketpair
Thank you very much firstly.
But when I used the function “socketpair()”,the compile error is that “the
function socketpair is not to be found”,even if I linked the library
“-lsocket”.Who would tell me how to use the function “socketpair()” in
QNX.