Thank you Luciano, seems lke a really great utility but perhaps a bit overkill for what I need.
I'm just trying to figure out the correct sequence of systems calls to connect two serial devices in my C program without doing a select/poll and writing the data out to the other device. Basically what it seems like I need is a more advanced verison of pipe where it's duplex and I can tell it what the fd's are instead it telling me what fd's to use. -Chris On Fri, Aug 1, 2008 at 12:28 PM, Luciano Rocha <[EMAIL PROTECTED]> wrote: > On Fri, Aug 01, 2008 at 12:03:15PM -0400, Christopher Taylor wrote: >> Other than writing my own driver/user space loop, does anyone have a >> tip on how to bridge two serial devices? >> >> My first thought was a combination of dup2 and pipe, but that didn't work :/ >> >> Thanx for any pointers, > > Try this: http://www.dest-unreach.org/socat/ > > -- > lfr > 0/0 > _______________________________________________ uClibc mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/uclibc
