Sign up for the KDAB Newsletter
Stay on top of the latest news, publications, events and more.
Go to Sign-up
Find what you need - explore our website and developer resources
4 September 2024
In this video, you will learn how use Qt (5 or later) to develop a server and a client application which communicate using a local socket. You will learn how to handle the various issues that arise from systems made of multiple processes. For instance, what if the client tries to connect before the server is running? What if the server is restarted? What if the server crashes? What if the server is started twice?
The next video will then implement an actual communication protocol.
Code shown in this video: https://github.com/KDABLabs/kdabtv/tree/master/InterProcessCommunication/Sockets-part1-local-server
All 'Inter-process communication with Qt' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6jlyNTFcXhmOEht-CI7XZht
All 'Qt Widgets and more' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI
All 'QML Tips and Tricks' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6jWHP5krsQrVGyYtKh3A3be