path: root/examples/network/secureudpclient/association.h
Commit message (Collapse)AuthorAgeFilesLines
* Document DTLS examplesTimur Pocheptsov2018-08-091-4/+2
| | | | | | | | Task-number: QTBUG-68070 Change-Id: I2b08322049005b02f1ed680bee21992ade16813a Reviewed-by: Mårten Nordheim <> Reviewed-by: Paul Wicking <> Reviewed-by: Edward Welbourne <>
* DTLS client - improve the exampleTimur Pocheptsov2018-07-101-0/+1
| | | | | | | | | | | | - Remove redundant pingTimer.start() call (timer is not a single shot timer and already started before this point in code). - Use connected UDP sockets to show that it can work with QDtls. - Replace (translated) string concatenations with formatted strings and 'arg' where needed. Change-Id: I8dba54f43464a718062cd897d24f89b75b99f2a4 Reviewed-by: Mårten Nordheim <> Reviewed-by: Edward Welbourne <>
* Add a secure UDP client exampleTimur Pocheptsov2018-06-221-0/+98
A simple application that establishes DTLS connection(s) and sends/receives datagrams. Class DtlsAssociation is essentially a QUdpSocket|QDtls pair: it initiates a handshake, handles timeouts and errors. After establishing an encrypted connection it sends messages to the server and processes responses. Task-number: QTBUG-67596 Change-Id: I92d481b7dfd2459e6a93c754b338a2e897a7feaf Reviewed-by: Timur Pocheptsov <>