Vault
4.1
|
VNetworkInterfaceInfo describes an Internet interface on this computer. More...
#include <vsocket.h>
Public Attributes | |
int | mFamily |
Indicator of the type of interface. | |
VString | mName |
Interface name. | |
VString | mAddress |
IP address of the interface. |
VNetworkInterfaceInfo describes an Internet interface on this computer.
You can get a list of the interfaces present by calling VSocket::enumerateNetworkInterfaces. If you are just looking for the "local ip address", you should just call VSocket::getLocalHostIPAddress(), which takes this information into account along with the concept of a "preferred" interface on a multi-home system (where multiple interfaces are active).