creating a server programm via inetd
Posted on 1998-10-04
I've written a simple C server with the following functions
to create a socket and listen to a port:
socket -> bind -> accept -> recv
When I start the programm from a shell everything is working.
If I try to enter the port and the service call in the
/etc/services and /etc/inetd.conf the bind call returns
that the port is occupied. (I think i is the inetd)
What network functions do I need to make the inetd start my server ???