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

2007-05-18, 1: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 ***
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com