cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Connection between 2 programs
Connection between 2 programs
Sep 29, 2017 at 3:15am UTC
Old Tatita
(2)
Hi there, i'm new.
There are a way to connect 2 programs without sockets. this 2 programs run in the same machine, so is possible?
Thanks
Sep 29, 2017 at 3:33am UTC
JLBorges
(13770)
Shelling out (with command line arguments) and using tempfiles or shared memory (often in conjunction with signals) are possibilities.
http://catb.org/~esr/writings/taoup/html/ch07s02.html#id2922148
Pipes are another option; though the idea originated in Unix, it is also available on many other operating systems (Linux, Windows etc.)
https://en.wikipedia.org/wiki/Pipeline_%28Unix%29
Sep 29, 2017 at 3:40am UTC
Old Tatita
(2)
Sorry, i'm little new in intercomunication c++ have you a simple documentation about pipes?
Last edited on
Sep 29, 2017 at 3:41am UTC
Sep 29, 2017 at 3:45am UTC
JLBorges
(13770)
http://beej.us/guide/bgipc/output/html/multipage/pipes.html
Topic archived. No new replies allowed.