On Sun, Nov 14, 2010 at 2:50 PM, Dean Michael Berris
<[email protected]> wrote:
> On Sat, Nov 13, 2010 at 4:42 PM, qjmann <[email protected]> wrote:
>>
>> So, next trouble is how to check if client[i] has received the whole
>> response and disconnected from server ("Connection: close" request
>> header was used) or not. How to check this?
>
> You cannot do that yet now.
>
And with 0.8-beta, you can do this now. :)
I just implemented a wrapper/checker for checking whether a response
object is ready for processing. You can then loop through each
response object with the 'ready' wrapper:
if (ready(response)) { /* the response is ready here */ }
else { /* the response is not ready yet */ }
>
> These are not possible yet. As I've said earlier, this will be made
> possible in a later release, potentially 0.9, which will come after
> 0.8 (scheduled for release next week).
>
I thought it wasn't easy to do, and found myself wanting something
like this too, so I just did it. 0.8 should have it now, as much as
0.8-beta already has it now.
--
Dean Michael Berris
deanberris.com
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel