Boost. Asio C++ Network Programming : Enhance Your Skills with Practical Examples for C++ Network Programming /: Enhance Your Skills with Practical Examples for C++ Network Programming. (2013)
- Record Type:
- Book
- Title:
- Boost. Asio C++ Network Programming : Enhance Your Skills with Practical Examples for C++ Network Programming /: Enhance Your Skills with Practical Examples for C++ Network Programming. (2013)
- Main Title:
- Boost. Asio C++ Network Programming : Enhance Your Skills with Practical Examples for C++ Network Programming
- Further Information:
- Note: John Torjo.
- Other Names:
- Torjo, John
- 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 andCover; 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. … (more)
- Publisher Details:
- Birmingham : Packt Pub
- Publication Date:
- 2013
- Extent:
- 1 online resource (iii, 142 pages), illustrations
- Subjects:
- 005.13/3
COMPUTERS -- Programming -- Object Oriented
C++ (Computer program language)
Object-oriented programming (Computer science)
Computer networks
Computer software
Open source software -- Handbooks, manuals, etc
Sensor networks
COMPUTERS -- Programming Languages -- C♯
COMPUTERS -- Programming Languages -- Java
COMPUTERS -- Programming Languages -- Pascal
C++ (Computer program language)
Computer networks
Object-oriented programming (Computer science)
COMPUTERS -- Programming -- Open Source
COMPUTERS -- Networking -- General
Electronic books
Electronic books - Languages:
- English
- ISBNs:
- 9781782163275
1782163271 - Related ISBNs:
- 9781782163268
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.86639
- Ingest File:
- 01_007.xml