I think I just did this, especially the duplicate part, using some useful socat commands .
socat TCP-LISTEN:4444,reuseaddr,fork SYSTEM:"tail -f ~/.tail-error-logs/*",pty
fork is important on the left, pty is important on the right.
What doesn't work was netcat style:
tail -f ~/.tail-error-logs/* | socat STDIO TCP-LISTEN:4444,fork,reuseaddr
It had the effect of output alternating between several affiliate clients, which is also documented on this website .
source share