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  
Barry Margolin


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


 
05-18-07 06:18 AM

In article <1179373240.562346.39950@p77g2000hsh.googlegroups.com>,
Steven Woody <narkewoody@gmail.com> wrote:

> actually, each process need both read and write. what process A read
> comes from what process B write, and what process A write becomes what
> process B read.

I have two suggestions to you:

1) Use two computers, and connect them with a null modem cable.  Put
process A on one machine and process B on the other.

2) Use one computer with two serial ports, and connect them together
with the null modem cable.  Process A opens port 0, process B opens port
1.

--
Barry Margolin, barmar@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 ***





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:15 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