Hi All,
I'm looking for possibility to get my local ip address (not loopback) using boost::asio.
Is it possible?
I'm trying to use
local_address_ = socket_.local_endpoint().address();
right after I connect to remote server, but it always return "
127.0.0.1" as result.
Could you please point me to information how to get address of my network card?
Thank you.