Datagram sockets use UDP which provides connectionless communication with minimal overheads making it suitable for applications that need speed.
Client server model is prevalent in distributed systems. Network socket programming calls are explained with example programs in C using the TCP.
Signals are software interrupts that are delivered to a process by the kernel. A signal is a notification about an event that has occurred.
D-Bus is a mechanism for interprocess communication for Linux systems. D-Bus concepts along with example client-server programs are explained.
POSIX shared memory calls are explained with example client-server programs.
Shared memory is the fastest mechanism for interprocess communication. System V shared memory calls are explained with example programs.
An implementation of queue in C using linked list is provided with program listing and results.
Pthread synchronization using mutex and condition variables is explained with an example program.
The basic Pthread calls are explained with an example program.
POSIX named and unnamed semaphores are explained with example programs.
System V semaphore calls are explained with an example program.
Semaphores provide a mechanism for synchronizing processes and threads. The basics of semaphores are explained with examples.
POSIX message queue calls for interprocess communication (IPC) between processes are explained with example of server and client programs under Linux.
Processes running on a Linux system can exchange information using System V message queues. The system calls for System V message queues are explained along with example client-server programs.
Any two processes can communicate using FIFOs in Linux. Interprocess communication using FIFOs is explained using a client-server example.