The purpose of this project is to code a small data exchange program using UNIX signals.
First, clone this repository and cd
into it:
$ git clone https://github.com/riceset/minitalk; cd minitalk
As this project uses the libft
you will have to clone it on the root of the repository as well:
$ git clone https://github.com/riceset/libft
Compile the executable files with:
$ make
You can also compile the files for the server or the client individually:
$ make server
$ make client
First, start up the server and it will print a PID:
$ ./server
Now you can pass the PID of the server to the client as a command line argument with the message you wish to send:
$ ./client PID "Hello World"