Skip to content
You are not logged in |Login  
     
Limit search to available items
Record 442 of 1000
Record:   Prev Next
Resources
More Information
Bestseller
BestsellerE-book
Author Torjo, John.

Title Boost. Asio C++ network programming : enhance your skills with practical examples for C++ network programming / John Torjo.

Publication Info. Birmingham : Packt Pub., 2013.

Item Status

Description 1 online resource (iii, 142 pages) : illustrations.
Physical Medium polychrome
Description text file
Series Community experience distilled
Community experience distilled.
Note Includes index.
Contents Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with Boost. Asio; What is Boost. Asio; History; Dependencies; Building Boost. Asio; Important macros; Synchronous versus asynchronous; Exceptions versus error codes; Threading in Boost. Asio; Not just networking; Timers; The io_service class; Summary; Chapter 2: Boost. Asio Fundamentals; The Network API; Boost. Asio namespaces; IP addresses; Endpoints; Sockets; Synchronous error codes; Socket member functions; Other considerations.
The read/write/connect free functionsThe connect functions; The read/write functions; Asynchronous programming; The need for going asynchronous; Asynchronous run(), run_one(), poll(), poll_one(); Running forever; The run_one(), poll(), poll_one() functions; Asynchronous work; Asynchronous post() versus dispatch() versus wrap(); Staying alive; Summary; Chapter 3: Echo Server/Clients; TCP Echo server/clients; TCP synchronous client; TCP synchronous server; TCP asynchronous client; TCP asynchronous server; The code; UDP Echo server/clients; UDP synchronous Echo client.
UDP synchronous Echo serverSummary; Chapter 4: Client and Server; The synchronous client/server; Synchronous client; Synchronous server; The asynchronous client/server; Asynchronous client; Asynchronous server; Summary; Chapter 5: Synchronous Versus Asynchronous; Mixing synchronous and asynchronous programming; Passing client to server messages and vice versa; Synchronous I/O in client applications; Synchronous I/O in server applications; Threading in a synchronous server; Asynchronous I/O in client applications; Asynchronous I/O in server applications; Threading in an asynchronous server.
Asynchronous operationsImplementing proxies; Summary; Chapter 6: Boost. Asio -- Other Features; std streams and std buffer I/O; Boost. Asio and the STL streams; The streambuf class; The free functions that deal with streambuf objects; Co-routines; Summary; Chapter 7: Boost. Asio -- Advanced Topics; Asio versus Boost. Asio; Debugging; Handler tracking information; An example; Handler tracking to file; SSL; Boost. Asio Windows features; Stream Handles; Random access Handles; Object Handles; Boost. Asio POSIX features; Local sockets; Connecting local sockets; POSIX file descriptors; Fork; Summary; Index.
Summary What you want is an easy level of abstraction, which is just what this book provides in conjunction with Boost. Asio. Switching to Boost. Asio is just a few extra #include directives away, with the help of this practical and engaging guide. This book is great for developers that need to do network programming, who don't want to delve into the complicated issues of a raw networking API. You should be familiar with core Boost concepts, such as smart pointers and shared_from_this, resource classes (noncopyable), functors and boost::bind, boost mutexes, and the boost date/time library. Readers should.
Local Note eBooks on EBSCOhost EBSCO eBook Subscription Academic Collection - North America
Subject C++ (Computer program language)
C++ (Computer program language)
Object-oriented programming (Computer science)
Object-oriented programming (Computer science)
Computer networks.
Computer networks.
Genre/Form Electronic books.
Handbooks and manuals.
Handbooks and manuals.
Other Form: Print version: Torjo, John. Boost. Asio C++ Network Programming. Birmingham : Packt Publishing, ©2013 9781782163268
ISBN 9781782163275 (e-book)
1782163271 (e-book)
9781782163268