MicroLink is a project developed as part of the curriculum at 42, a coding school. It is a client-server application that allows two processes to communicate using only signals.
- Clone the repository:
- Navigate to the project directory:
- Compile the server:
- Compile the client:
git clone https://github.com/hovhannisyangevorg/MicroLink.git
cd MicroLink
make server
make client
- Start the server by running the following command:
- In a separate terminal, run the client with the server's process ID (PID) as the first argument and the message to be sent as the second argument:
- The client process will send the message to the server, which will receive and display it.
- You can send multiple messages by running the client again with different messages.
./server
./client [server_PID] [message]
For example:
./client 12345 Hello
The MicroLink project consists of the following files:
src/server.c
: Contains the implementation of the server.src/client.c
: Contains the implementation of the client.src/utils.c
: Contains the helper functions for the program.Makefile
: Contains the build instructions for compiling the server and client.
Contributions to the Minitalk project are welcome. If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.