Thread: C program for Inter Process communication ( Tx and RX)

  1. #1
    Registered User
    Join Date
    May 2007
    Posts
    2

    C program for Inter Process communication ( Tx and RX)

    Hi Friends,

    I am trying to implement C programs say Transmit.c and Receive.c

    Transmit Program would periodicall send message while Receive program will listen to those messge.

    I will add more complexities , once i achieve this step

    How do i achieve this ?

    Do i need to worry about Inter-process communication? If yes what should i do ? I am new to this stuff.

    Regards
    Harsh

  2. #2
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,005
    Compiler/OS?
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

  3. #3
    Registered User
    Join Date
    May 2007
    Posts
    2
    Quote Originally Posted by Dave_Sinkula View Post
    Compiler/OS?

    Hi,
    I am going to use arm-gcc compiler for linux 2.6 version.

    Hope this helps .

  4. #4
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by hiharsh View Post
    Hi,
    I am going to use arm-gcc compiler for linux 2.6 version.

    Hope this helps .
    Uh, just make the Transmit program write its stuff to stdout, and the Receive program read from stdin. Then just join them with a pipe.

    Code:
    $ transmitter | receiver
    Unless you are more specific about your requirements I assume you need the simplest thing possible.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 07-31-2006, 02:57 PM