Skip to content

nguyenvandai61/IPC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Topic

Study about Pipe and Shared Memory to communicate processes in a scoop. In this topic, I coded with VS Code on Windows.

Installation

Test Pipe with the following command:

>g++ MyStack.h MyStack.cpp Evaluate.h Evaluate.cpp  Pipe/Server.cpp -o Pipe/Server && cd Pipe && Server.exe

>cd Client
>g++ Client.cpp -o Client && Client.exe

Test shared memory with the following command:

>g++ _Memory.h _Memory.cpp SharedMemory.h SharedMemory.cpp Process.h Process.cpp ProcessA.cpp -o ProcessA && ProcessA.exe


>g++ MyStack.h MyStack.cpp Evaluate.h Evaluate.cpp _Memory.h _Memory.cpp SharedMemory.h SharedMemory.cpp Process.h Process.cpp ProcessB.h ProcessB.cpp -o ProcessB && ProcessB.exe

Result

Pipe

"Pipe result"

Shared Memory

"Shared Memory result"

Thanks for reading!

About

Pipe and Shared Memory on Windows

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages