-
Book Overview & Buying
-
Table Of Contents
The Modern C++ Challenge
Host information, including IP addresses, can be retrieved with system-specific network utilities, such as gethostbyname(). Although this is available on all platforms, the way it is used is different and the requirement is to write a program that works on all platforms. There are various open source cross-platform libraries for networking, such as POCO and Asio/Boost.Asio. POCO is a more complex library, with support for not only networking but also data access, cryptography, XML, JSON, Zip, and others. Asio is a stand-alone, header-only library with a consistent asynchronous I/O model for network programming. It is also available as part of the Boost library, and a standardization...