Boost.Asio vs QSslSocket. Which to use?
-
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.
-
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?
-
@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). -
@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