Re: netcat udp to two IP addresses?
Hi,
i wrote:
> > mknod ~/fifo p
> > netcat -u PORT1 <~/fifo
> > data_producer | tee -i ~/fifo | netcat -u PORT2
Paul Duncan wrote:
> I shall give that a go
I forgot to mention that i ran my test mockup of the last two commands
concurrently in two shell terminals. (The fifo consumer waits until
tee(1) writes data to the fifo.)
I now tested that this works in a single bash or dash session, if the
middle command is started as background process so that the last line
can be performed, before the middle onec ends.
I.e.:
netcat -u PORT1 <~/fifo &
Have a nice day :)
Thomas
Reply to: