Re: netcat udp to two IP addresses?

2016-10-01 Thread Thomas Schmitt
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

Re: netcat udp to two IP addresses?

2016-10-01 Thread Thomas Schmitt
Hi, Paul Duncan wrote: > what the best way is to send it to two IP addresses? If it must happen without much time to study the web, i'd use tee(1) to feed a named pipe from the unnamed one. Then netcat can consume both. mknod ~/fifo p netcat -u PORT1 <~/fifo data_producer | tee -i ~/fifo

netcat udp to two IP addresses?

2016-10-01 Thread Paul Duncan
Hi All, Not strictly speaking an OS dependent question, but I figured someone on this list would probably have an answer :-) I have a program generating output to standard out, which I am then piping to netcat -u IP Port This works fine, but I'm wondering what the best way is to send it to two