which IPC should i use?

From: shellcode (shellcode_at_adelphia.net)
Date: 08/19/04


Date: Thu, 19 Aug 2004 02:07:55 -0500

hi.

i wrote a program to control a device attached to the serial port of my
computer. the program works fine but it is meant to work together
alongside with other programs. at first i was just going to have the
other programs run the control program. this would work fine but then, i
thought that a more elegant solution would be to have the other programs
communicate with this one through UNIX IPC.

what i need to know is what type of IPC would be best. my control
program would only need to receive short messages (~5 bytes) and then
control the serial port based on those messages. i was thinking that a
message queue would be best but perhaps one of the experts here feels
that a shared memory segment or a FIFO would be better?

thanks in advance.



Relevant Pages

  • Re: C programming question
    ... can be controlled through the serial port. ... I have 2 plugs that i ... complicated would be to write a program so I can control that micro ... I don't want an interactive program like minicom, ...
    (freebsd-questions)
  • Re: C programming question
    ... can be controlled through the serial port. ... I have 2 plugs that i ... complicated would be to write a program so I can control that micro ... I don't want an interactive program like minicom, ...
    (freebsd-questions)
  • Re: Serial Port interfacing
    ... > I am having a problem reading from a serial port, first of all I have now ... resorted to using the MSComm ActiveX control on my Windows Forms to provide ... me with the interface to my serial port. ... my Card reader up and I plug it in and I swipe my transponder card the ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Programming the serial port on an Alphaserver 200
    ... Right now I use the console that shows up on the ... serial port if there is no keyboard plugged in. ... I want to control the ... By default VMS does not do raw no flow control. ...
    (comp.os.vms)
  • Re: Serial Communication in pocket PC
    ... problems (disable ActiveSync for one), however, I have run into ... you control external devices with single byte commands. ... the control of communication as: ... but nothing data is send by serial port. ...
    (microsoft.public.pocketpc.developer)