D.Cook
Member
I would love to redirect the program output to an open socket object.. has anybody tried this and come up with a clever solution, or have any ideas?
I have a couple hundred old programs that output to file (eq with display statement), but I'd like to output unbuffered directly to a socket (to send the information real-time as it is generated).
My current solution: after the process is finished, simply read the generated file into the socket. But this means potentially waiting a long time before the output is sent to the socket.
I have a couple hundred old programs that output to file (eq with display statement), but I'd like to output unbuffered directly to a socket (to send the information real-time as it is generated).
My current solution: after the process is finished, simply read the generated file into the socket. But this means potentially waiting a long time before the output is sent to the socket.