How to make 2 executables communicate in both directions in Windows
Posted
by user302099
on Stack Overflow
See other posts from Stack Overflow
or by user302099
Published on 2010-05-23T22:10:55Z
Indexed on
2010/05/23
22:40 UTC
Read the original article
Hit count: 202
Hello.
I have 2 Windows console applications, reading from standard input and writing to standard output. I'd like to assume I don't have the source code to any of them (actually I usually have the source code of one of them).
I want to direct the standard output of one to the standard input of the other and vice versa, thus allowing communication (the goal is to allow two programs playing a certain game to play one against the other).
How can this be done? I'm willing to do some C/C++ programming or anything else required.
Oren.
© Stack Overflow or respective owner