boost-asio-cpp-network-programming Reading notes

Source: Internet
Author: User
Tags posix

Chapter II: Fundamentals of Boost.asio

Network API

Boost.asio namespaces

IP Address

Endpoint

Sockets

Synchronization error Codes

Socket member functions

Other precautions

Read/write/connect free function

Connect function

Read/write function

Asynchronous programming

Why async?

Asynchronous run ()/run_one (), pool (), Pool_one ()

Continuous operation

Run_one (), pool (), Poll_one () function

Asynchronous work

Asynchronous post () vs dispatch vs Wrap ()

Keep Running,: summary

===========

Chapter III, Echo Server/client

TCP echo Server/client

TCP Synchronization Client

TCP Synchronization Server

TCP Asynchronous Client

TCP Synchronization Server

Code

UDP echo Echo server/client

UDP Synchronous Echo Client

UDP Synchronous Echo Server

Summarize.

===========

Fourth Chapter

Sync Client/server

Asynchronous Client/server

Summarize.

==========

Fifth Chapter

Synchronous asynchronous Hybrid programming

Transmission of messages between client/server

Synchronous IO in the client software

Synchronization IO in the Server software

Synchronizing threads in the server

Asynchronous IO in the client software

Asynchronous IO in the server-side software

Threads in the asynchronous service side

Asynchronous operation

The proxy implementation.

Summarize.

=======

Sixth chapter: boost.asio-Other Features

STD streams and STD buffer I/O

Boost.asio and STL Streams

Streambuf class

Free functions for handling Streambuf objects

Co-process

Summarize

======

Seventh chapter: Boost.asio Advanced

Asio vs Boost.asio

Mode

Handler Trace Information

Example

Handler trace File

Ssl

Windows features for Boost.asio

Stream processing

Random storage processing

Object handling

POSIX features for Boost.asio

Local sockets

Connect local sockets

POSIX file descriptor

Fork

=========

boost-asio-cpp-network-programming Reading notes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.