message queue's and pipes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajez79
    New Member
    • Oct 2006
    • 4

    message queue's and pipes

    Can anybody tell me what are the differences between message queue's and pipes and how they are internally implemented and organized ?

    rgds,
    rajez
  • vinot85
    New Member
    • Aug 2007
    • 53

    #2
    hi friend,
    Pipes are used to make Interprocess commmunication in the UNIX class systems.
    The pipes fall in to 2 categories,
    1)anonymous pipes - Used to communicate between parent/child process by fork() mechanism.
    2) named pipes or FIFOs - Used to communicate between two different process (that s why named to identify where the pipe is) probably a Client/server process.

    A server program can have a FIFO through which all clients can pass their messages.

    There are certain limitations in pipes and FIFOs therefore , they implemented the concept of Message Queues to implement Interprocess Communication


    I Dont know about how they are internally organised....
    regards,
    Vinoth

    Comment

    Working...