42 Urduliz — Common Core project
A minimal client-server communication program that transmits strings bit by bit using only UNIX signals (SIGUSR1 and SIGUSR2).
- Start the server — it prints its PID
- Run the client with the server PID and a message string
- The client encodes each character as 8 bits and sends
SIGUSR1(bit 0) orSIGUSR2(bit 1) to the server - The server reconstructs the characters and prints the message
make
./server & # prints PID
./client <PID> "Hello, World!"- Pure signal-based IPC — no pipes, no sockets
- Uses
sigaction()for reliable signal handling - Unicode support (multi-byte characters)
- Acknowledgement system: server confirms each character received
C UNIX Signals IPC Bitwise Operations Linux
This repository is shared for educational and portfolio purposes only.
For 42 students:
- Do not copy this code for your own project submissions
- Use it as a reference to understand concepts and approaches
- Write your own original solution — that is the only way to actually learn
42's core values are learning through practice, peer collaboration, and genuine problem-solving.
MIT — see LICENSE for details. Copyright (c) 2026 Eneko Muñoz Bordona