Boost logo

Boost Users :

Subject: Re: [Boost-users] asio - How do I modify code using old ASIO to newer version?
From: Igor R (boost.lists_at_[hidden])
Date: 2008-12-10 09:53:00


>
> try
> {
> while( mWrapped->mSocket.in_avail() > 0 )
> { ...
>
> but I found that there is no in_avail() method exist in current version.
> how can I resolve the problem ?
>
in_avail is a method of buffered_stream,
tcp::socket has available()



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