problem with binding process and than execute another process
I have following question, asking for a help...
Now, I have a program running on RedHat9. It binds to a port and also accepts commands from console(keyboard), so it dont exits and return focus to bash. When I command the program to start mysqld or any other deamon it starts them but they are binded on the same port as my program's port!, so 'fuser -v -n tcp <myport>' return either my process, and daemon binded on the same port! Why is all that and what I do wrong. I use system() to start the deamons.
|