(boost :: asio :: ip :: tcp :: socket):: async_read_some和(...):: async_receive有什么区别?

时间:2014-03-26 14:51:23

标签: c++ sockets boost tcp

boost::asio::ip::tcp::socket::async_read_someboost::asio::ip::tcp::socket::async_receive之间的区别是什么?

boost::asio::ip::tcp::socket::async_write_someboost::asio::ip::tcp::socket::send之间的区别是什么?

async_read_somehttp://www.boost.org/doc/libs/1_55_0/doc/html/boost_asio/reference/basic_stream_socket/async_read_some.html

async_receivehttp://www.boost.org/doc/libs/1_55_0/doc/html/boost_asio/reference/basic_stream_socket/async_receive.html

async_write_somehttp://www.boost.org/doc/libs/1_55_0/doc/html/boost_asio/reference/basic_stream_socket/async_write_some.html

async_sendhttp://www.boost.org/doc/libs/1_55_0/doc/html/boost_asio/reference/basic_stream_socket/async_send.html

0 个答案:

没有答案