Boost logo

Boost Users :

From: Richard Hodges (hodges.r_at_[hidden])
Date: 2020-04-01 18:27:56


On Wed, 1 Apr 2020 at 16:11, Stanislav Zaikin via Boost-users <
boost-users_at_[hidden]> 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.
>

Boost.Beast implements some custom stream types. That is, objects that
model AsyncReadStream and AsyncWriteStream.

This would be a good place to start looking for examples.

There is also a primer on writing asio operations in the beast
documentation.

> 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_at_[hidden]
> https://lists.boost.org/mailman/listinfo.cgi/boost-users
>

-- 
Richard Hodges
hodges.r_at_[hidden]
office: +442032898513
home: +376841522
mobile: +376380212


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