Re: SOLVED: Daemon Programming

2005-01-13 Thread Sergio Cuéllar Valdés
Marc, thanks that was the problem !!! sprintf(message, "say -s 4 -a \"%s\"", buffer); < this was the big big big mistake I added the hole path to the instructions: sprintf(message, "/usr/local/bin/say -s 4 -a \"%s\"", buffer); Thanks to all of you who helped me !! :-) Sincerely, Sergio Cuéll

Re: Daemon Programming

2005-01-13 Thread Sergio Cuéllar Valdés
Hans-Georg Bork: I have already tried the S99my_serverd change, but it doesnt work. J.A. Bezemer: I have tried the ./yourprog /dev/null 2>/dev/null and the program dies, I cant see with a ps ax Clare Jarvis: The program should listen to a port, and a client program will send a string, and this

Daemon Programming

2005-01-13 Thread Sergio Cuéllar
Hi, I hope you can help me. I have made a program that will be listening to a port. I want to start the program every time the machine boots, so I created the script to use in init.d and Ive also created the symlinks. The machine boots, and the programs starts. I use ps ax and I can see that the p