IPC is a fundamental mechanism in computer science. In this chapter, you learned the various techniques offered by Qt to do IPC and how to create an application that uses sockets to interact, send, and receive commands. You took the original mandelbrot-threadpool application to the next level by enabling it to generate pictures on a cluster of machines.
Adding IPC on top of a multithreaded application brings some issues. You have many more possible bottlenecks, chances of leaking memory, and having an inefficient calculation. Qt provides multiple mechanisms to do IPC. Since Qt 5.7, the addition of transactions that makes the serialization/deserialization part much easier.
In the next chapter, you will discover the Qt Multimedia framework and how to save and load a C++ object from a file. The project example will be a virtual drum machine. You will be able to save and load...