c++ - How to write client and server with TLS encryption in Qt? -


i relatively new qt , have no experience in network programming. trying write minimal tcp-client-server connection tls encryption in qt using qsslsocket class. far established connection between server , client both running on localhost without encryption. tls encryption found example on github: https://github.com/guitek/qt-sslserver
, followed given instructions (including openssl installation). nevertheless can not establish connection between client , server (even if set timeout -1). error messages server , client depicted below.
can me ? if has complete code examples in qt client , server exchange data via tcp using encryption ssl encryption highly appreciate. working qtcreator running qt 5.5.0 msvc2013 64 bit.

launch qt creator. on welcome screen hit "examples" button. @ search box write "ssl". see several working qt examples ssl clients , servers. place start. read this link.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -