Fortune Client Example▲

This example uses QTcpSocket, and is intended to be run alongside the Fortune Server example or the Threaded Fortune Server example.

Screenshot of the Fortune Client example

This example uses a simple QDataStream-based data transfer protocol to request a line of text from a fortune