diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2018-06-22 10:04:11 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2018-07-10 04:55:48 +0000 |
commit | ced0bd80683a37a4afd5ab4460e1e08812685379 (patch) | |
tree | 83955f5808937fb0587145b605e44977da0e6339 /examples/network/secureudpclient/association.h | |
parent | d27dd47ffa7bef94ffd18977b1bcbc970e1a72e4 (diff) |
DTLS client - improve the example
- 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 <marten.nordheim@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'examples/network/secureudpclient/association.h')
-rw-r--r-- | examples/network/secureudpclient/association.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/network/secureudpclient/association.h b/examples/network/secureudpclient/association.h index 08fc28e3ed..157882f23d 100644 --- a/examples/network/secureudpclient/association.h +++ b/examples/network/secureudpclient/association.h @@ -76,6 +76,7 @@ signals: private slots: + void udpSocketConnected(); void readyRead(); void handshakeTimeout(); void pskRequired(QSslPreSharedKeyAuthenticator *auth); |