How can I get all the data if it throws an exception during the last read?
> What I'm curious about is if the server doesn't send a full block for the last block, andread() will return an error or throw an exception, depending on the
> then closes the connection.
> Will this function still return whatever data it was able to read and then
> throw an exception on the next read? Or will it throw an exception on that
> last read, rendering the last bit of data inaccesible?
function overload you use, but anyway you'll get all the data sent by
the server.
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users