{EPITECH.} first year project.
This project consists of:
- A server that receives data in binary format
- A client that takes a string as argument, translates it to binary & sends it to the server
The data is sent from the client to the server using UNIX signals SIGUSR1 & SIGUSR2.
Navigate to the root of the repository from your Terminal and run make
to build the ./server/server
& ./client/client
executable files.
You can run make client
to compile the client only, or make server
to compile the server only.
- Compile the 2 executable files (see Compilation above).
- Run the server inside the
server/
directory:
./server/server
- The server outputs its PID, note it down: the client needs it to connect to the server.
- Send messages to the server using the client under the
client/
directory:
./client/client [SERVER PID] [MESSAGE]