14 Dec
2020
14 Dec
'20
7:47 p.m.
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_st... -- Richard Hodges hodges.r@gmail.com office: +442032898513 home: +376841522 mobile: +376380212