Boost asio ssl socket with Qt sockets
-
Hi,
I have a communication class based on boost::asio::ssl. Is it possible to use this socket as Qt socket.
Thanks,
Lloyd -
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.