asio - How do I modify code using old ASIO to newer version?

10 Dec
2008
10 Dec
'08
2:12 p.m.
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.

10 Dec
10 Dec
2:53 p.m.
New subject: asio - How do I modify code using old ASIO to newer version?
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()
5975
Age (days ago)
5975
Last active (days ago)
1 comments
2 participants
participants (2)
-
Igor R
-
Jeff Lee