I have a smal problem getting started my own program by the inetd.
To test I made a smal “Hello World” program to test.
I inserted in the /etc/services file : gsm 1280/tcp
I inserted in the /etc/inetd.conf file : gsm stream tcp wait root
I started the inetd with the debug option (-d).
If I now try to connetct to port 1280 from another computer the console
window shows me :
someone wants gsm
spawn (/executable/inetd_test): pid 15101991
restored gsm, fd8
But there is no “Hello World” output on the screen.
The same happen if i start a program which works as server waiting for a
In this program i use “listen” and “accept”. If I start manualy this program
it works flawless.
I hope someone can help me.