[asio-users] Problem with windows::stream_handle
Brought to you by:
chris_kohlhoff
From: Zachary T. <div...@gm...> - 2009-06-26 15:07:47
|
I am using stream_handle and constantly calling async_write with a set of buffers whose sizes total up to N. Instead of doing what I would expect, which would be to always append subsequent writes at the end of previous writes, it just keeps overwriting the same data constantly, and never seeks forward at all. The destination file remains at a constant size N throughout the entire operation. Am I doing something wrong? |