I am trying to compile a simple application that will be started by inetd.
My problem if very simple. The code uses recv() and send(). When I compile
it, I get the message that recv and send were not found. The documentation
that I need “libsocket” to use recv() or send(), so I should link the
application with another library.
How do I do that ? I tried the -l option but it did not work!