Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# Network Chat Example

Files:

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

The Network Chat example demonstrates a stateful peer-to-peer Chat client that uses broadcasting with QUdpSocket and QNetworkInterface to discover its peers.