larytet / ipc_test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A simple server client with fielsystem based token.

A client application (front_end) opens file data.txt, reads integers, sends the integers to the server (sorter), creates a file "token". The client waits for the sorter to remove the token file. The client prints the sorted data.

Sorter waits for a token file, reads the integers, sorts the integers, sends the sorted list back to the client, removes the token.

Build & run

   ./test.sh

About


Languages

Language:C++ 83.3%Language:Makefile 10.1%Language:Shell 6.5%