S
seema_coma
Iam working on Client, Server programming on Linux in C++.
I have a Server Daemon running in the background, my client program
talks to the Server and extracts some data which I
am printing on the screen. This thing works fine but when i redirect
the stdout to pipe it hangs for eternity,
for example,
seema@coma> simple_client | more
If I 'kill' the Server Daemon, then control is eventually returned back
to the shell. I need to make it work because
i want to integrate executable with the shell script. Can somebody
please explain how to fix it?
Thanks in Advance
Seema
I have a Server Daemon running in the background, my client program
talks to the Server and extracts some data which I
am printing on the screen. This thing works fine but when i redirect
the stdout to pipe it hangs for eternity,
for example,
seema@coma> simple_client | more
If I 'kill' the Server Daemon, then control is eventually returned back
to the shell. I need to make it work because
i want to integrate executable with the shell script. Can somebody
please explain how to fix it?
Thanks in Advance
Seema