UNIX signals
What is minitalk?
minitalk is a fundamental project to create a small program for inter-process communication using UNIX signals. This project is an opportunity to practice working with processes, signals, and low-level system calls in C.
Key Objectives
- Inter-process communication: Develop a client and a server program that communicate with each other
- Use UNIX signals: Send and receiving signals between processes
- Binary representation: Convert characters to binary and vice versa
- Asynchronous communication: Implement asynchronous communication between processes
Project Structure
- Client process: Sends messages to the server process
- Server process: Receives and prints messages from the client process
- Signal handling: Functions to handle SIGUSR1 and SIGUSR2 signals for communication
- Message conversion: Functions to convert characters to binary and back
Links