Unix Programming - Re: Linux: two processes read/write on single serial port

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > May 2007 > Re: Linux: two processes read/write on single serial port





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Linux: two processes read/write on single serial port
Steven Woody

2007-05-18, 7:20 am

On May 17, 7:45 am, Barry Margolin <bar...@alum.mit.edu> wrote:
> In article <5b0ti3F2qp1i...@mid.uni-berlin.de>,
> j...@toerring.de (Jens Thoms Toerring) wrote:
>
>
>
> But the reader process won't normally get what the writer process wrote.
> When you write to a serial port, it sends to the device at the other end
> of the serial cable. When you read from a serial port you get what the
> device sent.
>
> So unless the device is echoing everything it received back (which is
> what a loopback cable does), the serial port can't be used to
> communicate directly between processes.
>
> --
> Barry Margolin, bar...@alum.mit.edu
> Arlington, MA
> *** PLEASE post questions in newsgroups, not directly to me ***
> *** PLEASE don't copy me on replies, I'll read them in the group ***


okay! got it! thank you.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com