Qt 5.11 | Qt Network | Network Examples | Network Chat Example

Qt 5.11.3 Reference Documentation

# Network Chat Example

Demonstrates a stateful peer-to-peer Chat client.

This example uses broadcasting with QUdpSocket and QNetworkInterface to discover its peers.

Files:

- network-chat/chatdialog.cpp
- network-chat/chatdialog.h
- network-chat/chatdialog.ui
- network-chat/client.cpp
- network-chat/client.h
- network-chat/connection.cpp
- network-chat/connection.h
- network-chat/main.cpp
- network-chat/network-chat.pro
- network-chat/peermanager.cpp
- network-chat/peermanager.h
- network-chat/server.cpp
- network-chat/server.h