~/talk

Basic Networking with Qt

Talkat Qt World Summit 2015 · 2015-10-06..10-07· [networking]
links:none on file
slides:none on file

Covers Qt networking primitives: QTcpSocket/QTcpServer for TCP, QUdpSocket for UDP broadcast discovery, QSslSocket for encryption, QHostInfo/QDnsLookup for names, and QNetworkAccessManager/QNetworkReply for HTTP. Builds a local LAN chat that autodiscovers peers by broadcasting a magic string every 10 seconds, receives chat via a small QTcpServer + HTTP state machine, and sends JSON messages from QML using XMLHttpRequest through QNetworkAccessManager JSON over HTTP. Live demo shows discovery and messaging working.

AI-written summary · about

  1. 0:00Introduction
  2. 1:08Qt network stack overview
  3. 3:41Network considerations
  4. 4:28Local chat demo
  5. 6:09Automatic node discovery
  6. 10:22Receiving discovery data
  7. 12:23HTTP chat communication
  8. 13:49Implementing the server
  9. 16:40QML network integration
  10. 18:26Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.