Boost logo

Boost Users :

Subject: Re: [Boost-users] async_read_some() not found??
From: Lars Viklund (zao_at_[hidden])
Date: 2011-08-10 07:19:38


On Wed, Aug 10, 2011 at 02:05:33AM -0700, Claude wrote:
> I have this code (from async_read_until boost documentation):
> boost::asio::async_read_until(s, b, "\r\n", handler);
> [snip]
> .., which is of non-class type
> ‘boost::asio::basic_stream_socket<boost::asio::ip::tcp>*’

's' appears to be a pointer. Try dereferencing it.

-- 
Lars Viklund | zao_at_[hidden]

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