Boost logo

Boost Users :

Subject: [Boost-users] asio - How do I modify code using old ASIO to newer version?
From: Jeff Lee (python_lzj_at_[hidden])
Date: 2008-12-10 09:12:19


Hi ,
  I have some code using the old version of ASIO .
some code like this:
                 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 ?

Plz dont just give a web link.
I'm using the very very slow internet connection.. so , search from internet or even get the document is difficult.


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