LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   problem with binding process and than execute another process (https://www.linuxquestions.org/questions/programming-9/problem-with-binding-process-and-than-execute-another-process-86173/)

chapa 08-27-2003 03:47 AM

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.


All times are GMT -5. The time now is 02:10 AM.