On Mon, Sep 9, 2013 at 4:03 PM, Galen Seitz <[email protected]> wrote: > > I should have mentioned that I already tried socat(netcat on steroids). > Here's the command I started with: > > socat tcp-l:9001,reuseaddr,fork /dev/ttyUSB0,raw,echo=0,crnl > > This is close to what I want, but the data from the serial port is not > sent to all readers. I'm not sure, but I think there is a single file > descriptor associated with the serial data, so it's a first reader wins > situation, where the first reader is unpredictable. I sent a message to > the socat developer asking for hints on how to accomplish my particular > multiple reader situation, but I have yet to hear back.
Possibly you could use a multicast address http://stevehaskew.blogspot.com/2012/08/playing-with-multicast.html Or a message queue http://zguide.zeromq.org/page:all http://www.jnbagale.com/blog/2011/12/19/porting-zeromq-to-openwrt/ But this is getting a bit beyond a command line solution. Bill _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
