Second part of article series about Boost.Asio and TLS/SSL programming has been published

2016-02-16: Second part of article series about TLS/SSL network programming in C++ with Boost.Asio has been published.

Today the second article of the series about TLS/SSL network programming with the framework Boost.Asio has been published by heise Developer, the German online magazine for software developers.

After the first part had introduced into the basics and the software architecture of Boost.Asio, this second part covers the practical programming of servers in C++ with Boost.Asio. For encryption of network connections by TLS/SSL the well-known library OpenSSL is used.

The programming of network servers in C++ with Boost.Asio is covers step by step always with an eye on sample code which implements a working server. The sample program is highly portable and supports a broad range of system platforms such as UNIX (AIX, Solaris, HP/UX, OpenBSD, NetBSD, FreeBSD), Linux (Debian, Red Hat, SuSE) on ARM and x86/AMD64, z/Linux (IBM mainframe), Mac OS X as well as Windows (native with Visual Studio and with the UNIX/POSIX compatible environment Cygwin). The article mentions the differences of the platforms and supports reads to get the samples running on all these operating systems.

While covering the programming of servers the article covers IPv4 as well as IPv6. It discusses the advantages and disadvantages of Boost.Asio's Proactor design pattern in comparison with Boost.Thread and C++11 and C++14 threads respectively.

Müller, Oliver:
Praktischer Auftrieb für SSL - SSL/TLS-Netzwerkprogrammierung mit Boost.Asio, Teil 2: Server-Programmierung.
heise Developer, 16.02.2016
http://heise.de/-3102667