Limit search to available items
Book Cover
E-book
Author Radchuk, Dmytro, author

Title Boost. Asio C++ network programming cookbook : over 25 hands-on recipes to create robust and highly-efficient cross-platform distributed applications with the Boost. Asio library / Dmytro Radchuk
Published Birmingham, UK : Packt Publishing, 2016

Copies

Description 1 online resource
Series Quick answers to common problems
Quick answers to common problems.
Contents Cover ; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: The Basics ; Chapter 2: I/O Operations ; Chapter 3: Implementing Client Applications ; Chapter 4: Implementing Server Applications ; Chapter 5: HTTP and SSL/TLS ; Chapter 6: Other Topics ; Index; Introduction; Creating an endpoint; Creating an active socket; Creating a passive socket; Resolving a DNS name; Binding a socket to an endpoint; Connecting a socket; Accepting connections; Introduction; Using fixed length I/O buffers; Using extensible stream-oriented I/O buffers
Writing to a TCP socket synchronouslyReading from a TCP socket synchronously; Writing to a TCP socket asynchronously; Reading from a TCP socket asynchronously; Canceling asynchronous operations; Shutting down and closing a socket; Introduction; Implementing a synchronous TCP client; Implementing a synchronous UDP client; Implementing an asynchronous TCP client; Introduction; Implementing a synchronous iterative TCP server; Implementing a synchronous parallel TCP server; Implementing an asynchronous TCP server; Introduction; Implementing the HTTP client application
Implementing the HTTP server applicationAdding SSL/TLS support to client applications; Adding SSL/TLS support to server applications; Introduction; Using composite buffers for scatter/gather operations; Using timers; Getting and setting socket options; Performing a stream-based I/O
Summary Over 25 hands-on recipes to create robust and highly-efficient cross-platform distributed applications with the Boost. Asio libraryAbout This Book Build highly efficient distributed applications with ease Enhance your cross-platform network programming skills with one of the most reputable C++ libraries Find solutions to real-world problems related to network programming with ready-to-use recipes using this detailed and practical handbookWho This Book Is ForIf you want to enhance your C++ network programming skills using the Boost. Asio library and understand the theory behind development of distributed applications, this book is just what you need. The prerequisite for this book is experience with general C++11. To get the most from the book and comprehend advanced topics, you will need some background experience in multithreading. What You Will Learn Boost your working knowledge of one of the most reputable C++ networking librariesBoost. Asio Familiarize yourself with the basics of TCP and UDP protocols Create scalable and highly-efficient client and server applications Understand the theory behind development of distributed applications Increase the security of your distributed applications by adding SSL support Implement a HTTP client easily Use iostreams, scatter-gather buffers, and timersIn DetailStarting with recipes demonstrating the execution of basic Boost. Asio operations, the book goes on to provide ready-to-use implementations of client and server applications from simple synchronous ones to powerful multithreaded scalable solutions. Finally, you are presented with advanced topics such as implementing a chat application, implementing an HTTP client, and adding SSL support. All the samples presented in the book are ready to be used in real projects just out of the box. As well as excellent practical examples, the book also includes extended supportive theoretical material on distributed application design and construction. Style and approachThis book is a set of recipes, each containing the statement and description of a particular practical problem followed by code sample providing the solution to the problem and detailed step-by-step explanation. Recipes are grouped by topic into chapters and ordered by the level of complexity from basic to advanced
Notes Includes index
Online resource; title from PDF title page (EBSCO, viewed November 1, 2017)
Subject C++ (Computer program language)
Object-oriented programming (Computer science)
Computer networks.
Computer Communication Networks
COMPUTERS -- Programming Languages -- C++
C++ (Computer program language)
Computer networks
Object-oriented programming (Computer science)
Form Electronic book
ISBN 9781783986545
9781783986552
1783986557
1783986549
Other Titles Over 25 hands-on recipes to create robust and highly-efficient cross-platform distributed applications with the Boost. Asio library
Over twenty-five hands-on recipes to create robust and highly-efficient cross-platform distributed applications with the Boost. Asio library