CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8

Threaded View

  1. #1
    Join Date
    Jan 2012
    Location
    USA
    Posts
    91

    [RESOLVED] How can I implement bidirectional communication between two processes?

    Hello,

    I have two command line apps, one of them is multithreaded. I need to implement a bidirectional communication between them. Currently I can do

    Code:
    ProgramA 1> ProgramB
    for the first programA to direct output into ProgramB, however I also need ProgramB to send messages to ProgramA.

    Can you give me ideas, maybe samples, how to implement it in a easiest way. Thank you!

    btw, I am on Ubuntu.

    EDIT: I'd rather not to use third party libraries, Boost, etc.
    Last edited by vincegata; March 29th, 2012 at 12:12 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured