This project shows an example of client–server model using Qt framework (events and sockets). Specifically:
- the server starts listening, it starts a timer to send a message every 5 s and waits for a connection (busy-waiting instead of event)
- the client starts and connects to the server
- the server sends two separate messages and waits for a response (busy-waiting instead of event)
- the client receives the two messages and replies
- the server receives the reply and sends a message every 5 s.