thanks a lot, its working.
-lnsl -lsocket -lresolv is needed.
Type: Posts; User: n00pster
thanks a lot, its working.
-lnsl -lsocket -lresolv is needed.
I got the same old error.
#g++ dummyServer.cpp -lsocket
Undefined first referenced
symbol in file
inet_aton ...
Thanks a lot for all the replies.
I am compliling on solaris
#uname -a
SunOS ipksun019 5.8 Generic_117350-22 sun4u sparc SUNW,Sun-Fire-480R Solaris
I am not logged in as root. My PS1 is...
hello everyone,
I need help. i am trying out beejs guide to socket programming.
I get the following error while trying to compile my code.
Undefined first referenced...