Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio] socket::read_some() splits data into two parts.
From: Slav (slavmfm_at_[hidden])
Date: 2011-05-11 10:49:26


Now it's clear to me.
Previosly I thought that socket::async_read() (inside which I call
read_some() multiple times) will be called just when whole data will be
accepted and read_some() will return "0" between multiple already accepted
data bunches (or result will be less then buffer size) - it's not in such
way.
Thank you.



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