Tag: #ipc
How to write a TCP server using the
fork
syscall A TCP server that uses the
fork
system call to create a new child process for each accepted connection, allowing it to handle multiple clients concurrently. 2017-02-25What is a a FIFO, or “named pipe”? What is
mkfifo
in C? A FIFO is a special file that allows inter-process communication. The
mkfifo
system call creates a FIFO, enabling processes to read from and write to it. 2017-02-21In what ways can processes communicate?
Processes can communicate via files, pipes, signals, sockets, message queues, semaphores, and shared memory. 2017-01-29
All content copyright James Fisher.