23 May
2010
23 May
'10
5:18 p.m.
boost::asio::async_read(socket_,
boost::asio::buffer(packet_.buffer(), CPacket::headerSize),
boost::bind(&CClient::recvHeader, shared_from_this(), boost::asio::placeholders::error)
);
What is packet_.buffer() and what do you do in recvHeader() ? Who calls recvMessage()?