This assignment implements three kinds of interprocess communication to send a list of 50 strings by breaking them into packets of 10 each, sending them with their indices, and waiting for the greatest index to be returned to send the next index.
Clone this repo, cd
into it, and run:
mkdir bin
make
This will generate the binaries for all three IPC methods.
You can run the Socket IPC using
./P1socket & ./P2socket
You can run the FIFO IPC using
./P1fifo & ./P2fifo
You can run the Shared Memory IPC using
./P1shared & ./P2shared