Not answering the question, but I don't know that there's documented extension points in the library for what you're wanting to do. It's surely possible, but maybe complex. I'd suggest asking for help on the asio list from https://think-async.com/. On Wed, Apr 1, 2020 at 7:11 AM Stanislav Zaikin via Boost-users < boost-users@lists.boost.org> wrote:
Hello!
I have a custom network stack (it processed packets in userspace) which exposed some functions in C. It has its own listen, bind, accept functions and many other, and furthermore even custom epoll, select and poll.
I want to expand asio in some away, just to support my application with this custom network stack. But I'm a bit confused how I can do it.
Should I write my own basic io class? Or should I write custom socket service class like (reactive_socket_service_base)? And is it possible to use basic tcp classes (with any of them)?
If there are any examples in open source please let me know. -- Best regards Stanislav Zaikin _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org https://lists.boost.org/mailman/listinfo.cgi/boost-users