Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Boost asio ssl socket with Qt sockets
lloydqt last edited by
I have a communication class based on boost::asio::ssl. Is it possible to use this socket as Qt socket.
raulgd last edited by
From my own experience, when using asio in Qt, use the asio distribution that comes without boost, check "ASIO":http://think-async.com
Also, you can implement your own io object and use whatever you want, ASIO is just an asynchronous I/O library, the io object can be an USB device, file in the filesystem, network socket or whatever, all you have to do is implement your own io object (in this case, to use QSslSocket) and then pass it to the library.
For that, check the ASIO documentation in the link I referenced.