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 vs QSslSocket. Which to use?

Boost.Asio vs QSslSocket. Which to use?

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 589 Views
  • 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.
  • B Offline
    B Offline
    bogong
    wrote on last edited by
    #1

    Hello all!
    I've got stacked in process of choosing the base-library for mail client. I have two ways of developing mail client:

    • based on Boost.Asio
    • based on QSslSocket

    Could someone write about when it's better to use each of them? What is advantages and disadvantages of each of solutions?

    I've seen Trohjita, Hiri and many other examples of IMAP and POP3 solutions on Boost.Asio and Qt as well.

    Pl45m4P 1 Reply Last reply
    0
    • B bogong

      Hello all!
      I've got stacked in process of choosing the base-library for mail client. I have two ways of developing mail client:

      • based on Boost.Asio
      • based on QSslSocket

      Could someone write about when it's better to use each of them? What is advantages and disadvantages of each of solutions?

      I've seen Trohjita, Hiri and many other examples of IMAP and POP3 solutions on Boost.Asio and Qt as well.

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by
      #2

      @bogong

      If you have Qt deeply integrated in your program and use other Q-datatypes as well, I would go with QSslSocket. If your program is more plain C/C++ with a separated GUI, I would go with boost.

      Have you checked if both meet your requirements?


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      B 1 Reply Last reply
      2
      • Pl45m4P Pl45m4

        @bogong

        If you have Qt deeply integrated in your program and use other Q-datatypes as well, I would go with QSslSocket. If your program is more plain C/C++ with a separated GUI, I would go with boost.

        Have you checked if both meet your requirements?

        B Offline
        B Offline
        bogong
        wrote on last edited by
        #3

        @Pl45m4 for the key-functionality both OK. That's why I've got stacked in process of choosing one.

        Pablo J. RoginaP 1 Reply Last reply
        0
        • B bogong

          @Pl45m4 for the key-functionality both OK. That's why I've got stacked in process of choosing one.

          Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by
          #4

          @bogong said in Boost.Asio vs QSslSocket. Which to use?:

          That's why I've got stacked in process of choosing one.

          You stated you're developing a mail client.
          I assume it will be multi-platform.
          If so, I'd use Qt framework since QNetwork is fully available for multiple platforms, and it is also licensed as LGPL (no worries about your closed source code).

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          B 1 Reply Last reply
          1
          • Pablo J. RoginaP Pablo J. Rogina

            @bogong said in Boost.Asio vs QSslSocket. Which to use?:

            That's why I've got stacked in process of choosing one.

            You stated you're developing a mail client.
            I assume it will be multi-platform.
            If so, I'd use Qt framework since QNetwork is fully available for multiple platforms, and it is also licensed as LGPL (no worries about your closed source code).

            B Offline
            B Offline
            bogong
            wrote on last edited by
            #5

            @Pablo-J-Rogina appreciate your reply. Good point. Thx a lot.

            Boost.Asio for me for cross-platform is Ok. I've got written Bash script that is building Boost.Asio for any platform. If anyone want, you might be using it https://github.com/ArboreusSystems/arboreus_bash_library/tree/master/Prebuild

            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