Re: [asio-users] Are overlapping calls to async_write_some supported?
Brought to you by:
chris_kohlhoff
From: Marat A. <ab...@ma...> - 2013-01-16 10:01:22
|
> > A) async_write_some() may be called again before a previous call has completed? > You can do that, every time you call async_read_some(), the data will be copied to send buffer or an error happens. I think it's not so simple. What can you say about situation when send buffer of socket is too small (for buffer specified by asyn_write_some/WSASend) or set to 0-size? Regards, Marat Abrarov. |