Is learning Inter-Process Communication(IPC) difficult? You are in the right place at the right time. We make it simple to understand and remember.
Most of the Real World projects need IPC. Two or more processes may have to talk with each other. So it is very important to understand & implement IPC.
To achieve IPC through messaging, we are using CPP-ZMQ, a C++ binding of ZMQ(C-library). ZMQ is an open-source library.
Here you & I together will build a Siri-like console-text application.
WHAT YOU LEARN?
We are going to implement a Siri/Google Assistant kind of application, which will be a console text application where 2 processes will be communicating with each other.
During this implementation, you will be learning the following:-
What is the Request-Reply pattern in the ZMQ library?
How to use 3rd-party library in your project.
What is IPC & how to achieve it through messaging?
What are sockets and ports?
Creation of socket.
Establishing a connection to a socket.
Making socket addresses.
Understanding the requirement of multiple ports in a socket with real-time examples.
Send and Receive messages.
Some debugging tips.
Prepare for the next level.
Console-based Siri by you & me.
HOW?
By understanding the lectures, and following the diagrams & algorithm.
Completing 5 Assignments.
WHAT IS NEXT?
You can start using this in your real-time project when required.
You can further learn other ZMQ patterns easily, so you can use that in your current project.
Make the console-based Siri more robust.