[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-dev] Get local IP (boost::asio)
I'm trying to add a primitive to get the local IP address. (Not 127.0.0.1, but the externally visible one.)
I'm using gUDPport->Socket().local_endpoint().address().to_string;
This returns 0.0.0.0. Is this because SC listens to multiple NICs at once?
Is there a way to do this?
S.
_______________________________________________
sc-dev mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/