Re: Linux: two processes read/write on single serial port
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Re: Linux: two processes read/write on single serial port




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-18-07 12:20 PM

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.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:35 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register