c++ – Why does Boost Asio socket always create a Loopback connection?
When creating a socket in Boost Asio for my Windows app, I found that it always creates a Loopback connection, why does it happen? And is there any way to tell Boost Asio not to create any Loopback?
ptt = std::make_shared<asio::io_service>(); asio::ip::tcp::endpoint ep(asio::ip::tcp::v4(), 10150); // After this socket is created, a Loopback connection is created as well t_socket = std::make_shared<asio::ip::tcp::socket>(*ptt, ep);
Checking from Resource Monitor.
Read more here: Source link