• Qt 5.3
  • Qt Network
  • Network Chat Example
  • Qt 5.3.0 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/peermanager.cpp
  • network-chat/peermanager.h
  • network-chat/server.cpp
  • network-chat/server.h
  • network-chat/main.cpp
  • network-chat/network-chat.pro

© 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.