Boost logo

Boost Users :

From: Richard Hodges (hodges.r_at_[hidden])
Date: 2020-12-14 19:47:20


> If you're on loopback and you'd like to close that gap, you need to turn
> on SIO_LOOPBACK_FASTPATH. I've no idea if ASIO can do that for you, I'm
> still on a pre-churn ASIO. An alternative is to bind to a real NIC, and
> not go via loopback.
>
>
You can set any option you want on the underlying socket with
socket::native_handle()

https://www.boost.org/doc/libs/1_75_0/doc/html/boost_asio/reference/basic_stream_socket/native_handle.html

-- 
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