$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [asio] socket::read_some() splits data into two parts.
From: Slav (slavmfm_at_[hidden])
Date: 2011-05-11 11:25:04
I meant I read data multiple times (accumulating incoming data using
std::string::append(charBuffer) ) until readBytes >= BUFFER_SIZE which,
sometimes, happens to interrupt (read_some() returns value less then
BUFFER_SIZE when not all 8004 bytes was read).
Now everything is clear to me.
Thanks everyone!