Boost logo

Boost Users :

Subject: Re: [Boost-users] [ASIO] async_read buffer: starting byte null
From: Igor R (boost.lists_at_[hidden])
Date: 2010-05-23 13:18:45


>     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()?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net