On Mon, 31 Aug 2020 at 15:01, lampahome via Boost-users < boost-users@lists.boost.org> wrote:
I haven't tried any of these methods, but it does provide the
posix::stream_descriptor and windows::{stream,random_access}_handle classes which should be able to operate on native files. (You'll have to use a native OS-level function to open the handle/descriptor for the file and pass ownership to the ASIO object; they lack means to do the opening itself.)
Thank u. That gives me a direction. The only sad thing is very little document/examples described about this API of boost.asio .
This is a common complaint of Asio. If you would like to tap into a great body of knowledge and interest in asio/networking-ts you can do so by joining the #beast channel in cpplang slack https://cppalliance.org/slack/ Beast depends very heavily on Asio and we have worked to build a strong body of expertise.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org https://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Richard Hodges hodges.r@gmail.com office: +442032898513 home: +376841522 mobile: +376380212