Thank you very much for reply cdarke,
The program on the other end is run in window and it connect to the unix server then return the data base on the parameter pass to it. I think this program is reading from the pipe from unix.
The child process will end when the program done returning data.
I take out the close command and i don't see any problem, but i just don't know what is the affect if I did that.
|