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

2016-04-08: Third part of article series about TLS/SSL network programming with Boost.Asio has been published.

Today the third articles 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, the second part covered the practical programming of servers in C++ with Boost.Asio. The third part covers now the programming of client programs. As in the server sample of the second article the well-known library OpenSSL is also used in the clients for encryption of network connections by TLS/SSL.

Although Boost.Asio increases platform independence of network programs, this article shows the limits of portability by practical examples. Strategies to address this circumstance are shown in the article. Besides that the articles focuses on practical error handling for real world applications.

Like the second part, this third article demonstrates everything by using a sample program.  The sample client program is highly portable, too, 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).

Müller, Oliver:
Portabler Auftrieb – SSL/TLS-Netzwerkprogrammierung mit Boost.Asio, Teil3: Client-Programmierung und Fehlerbehandlung
heise Developer, 08.04.2016