Re: serial port to feed multiple apps?

From: Mike Bishop <mrb@alaska.net>
Date: Wed Sep 01 2004 - 11:35:35 AKDT

> Hey folks,
>
> I'm feeding data into a serial port (ttyS0, if it matters). I have two,
> and maybe even three, apps that I'd like to use that data. Is it
> possible to set things up so that multiple daemons can use the data
> coming into a single RS232 port?
>
> Thx,
>

     Of course ... some programming may be required. At it's
     most simple, have a daemon read the port and write/append to
     a file.

     Without knowing the nature of the two|three app's (batch,
     real-enough time etc) it's difficult to offer any other
     thoughts, but you get the general idea.

     (I have had 'n' applications reading from a queue file in
     the past, each keeping track of where it had got too--and
     writing checkpoint records--with no problems.)

Rgds,

-- 
Mike Bishop        907/495-5737    907/495-5738 (fax)   mrb@alaska.net
Willow, Alaska
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Wed Sep 1 11:36:21 2004

This archive was generated by hypermail 2.1.8 : Wed Sep 01 2004 - 11:36:22 AKDT