Inter Process Communication using C++ & CPP-ZMQ Library
What you'll learn
- IPC(Inter Process Communication) using C++ and use of 3rd-party library(cpp-zmq). Specifically discussing Request-Reply mechanism and finally building Siri kind of application.
- C/C++ basic knowledge.
Is learning Inter Process Communication(IPC) difficult? You are in right place in right time. We make it simple to understand and remember.
Most of the Real World projects needs 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 a open source library.
Here you & me together will build Siri like console-text based application.
WHAT YOU LEARN?
We are going to implement Siri/Google Assistant kind of application, which will be a console text based application where 2 processes will be communicating between each other.
During this implementation, you will be learning follows:-
What is Request-Reply pattern in ZMQ library.
How to use 3rd-party library in your project.
What is IPC & how to achieve it through messaging?
What is Socket & Ports?
Creation of socket.
Establishing connection to a socket.
Making socket addresses.
Understanding requirement of multiple ports in a socket with real time examples.
Send and Receive messages.
Some debugging tips.
Prepare for next level.
Console based Siri by you & me.
By understanding the lectures, following the diagrams & algorithm.
Completing 5 Assignments.
WHAT IS NEXT?
You can start using this in your realtime 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.
Who this course is for:
- C/C++ developer curious to learn IPC and make use of 3rd-party library in existing project.
- You may have a requirement to send message from one process to another process. Here we will learn how to achieve that. This is a most common requirement in real time project.
- Any Programmer Willing To Learn A New Concept
I have worked with both product based and service based MNC companies for more than 18yrs as a software developer. Love to share my experience in C++ from beginning level to expert level with C++11/14/17/20.
In my professional carrier, I have worked in different technologies like C,C++,Java,Python,C#,QT, Gtkmm and domains like web, embedded system, automation, oil and gas and automobile.
Making programming(OOP) simple as much as possible for programmers is one of my hobby.