Shell Accessing socat stdin/stdout from script

Hi,
I am looking for a way to access stdin/stdout of the processes that socat forks, from a script, as i need to pass input and read the output from within a running script.
I found a solution for netcat, called coproc in bash, but the same solution will not work for socat as the file descriptors change for every new process spawned
 
Back
Top