Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Boost asio ssl socket with Qt sockets
Forum Updated to NodeBB v4.3 + New Features

Boost asio ssl socket with Qt sockets

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 3.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lloydqt
    wrote on 22 Jun 2012, 09:49 last edited by
    #1

    Hi,

    I have a communication class based on boost::asio::ssl. Is it possible to use this socket as Qt socket.

    Thanks,
    Lloyd

    1 Reply Last reply
    0
    • R Offline
      R Offline
      raulgd
      wrote on 28 Jul 2012, 16:33 last edited by
      #2

      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.

      Raul Guerrero
      http://jimi.mx

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved