|
Boost Users : |
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!
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