C program for Inter Process communication ( Tx and RX)

This is a discussion on C program for Inter Process communication ( Tx and RX) within the C Programming forums, part of the General Programming Boards category; Hi Friends, I am trying to implement C programs say Transmit.c and Receive.c Transmit Program would periodicall send message while ...

  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,006
    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
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,239
    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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21