From the course: Exploring Linux Internals: Advanced Insights and Practical Applications

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Inter-process communication, sockets, pipes, and more

Inter-process communication, sockets, pipes, and more - Linux Tutorial

From the course: Exploring Linux Internals: Advanced Insights and Practical Applications

Inter-process communication, sockets, pipes, and more

- In this video, we'll talk about interprocess communication, sockets, pipes, and more. So what is interprocess communication? Well, IPC or interprocess communication defines how processes can communicate using different methods like shared data without intervention of the operating system kernel. Direct communication is so much more efficient, and that's the main goal of IPC, to reduce the functionality that is provided by the kernel. IPCs are focused on communication on the same operating system platform. And different solutions for IPCs exist. I'll have the overview on the next slide. And these different IPC solutions can be seen in the proc/PID pseudo file system. So what are the approaches for IPC? We have shared file or memory-based access. That doesn't work well with large amounts of data, but for small processes, it's okay. There's the pipe, which opens a data channel that processes can use to communicate. It's very common and you have used pipes before, particularly the…

Contents