11 #include "network/Network.h" 24 bool IsEnabled()
const override;
25 bool IsConnected()
const override;
32 std::string GetCurrentIPAddress()
const override;
33 std::string GetCurrentNetmask()
const override;
34 std::string GetCurrentDefaultGateway()
const override;
36 std::string GetInterfaceName()
const;
39 std::string m_interfaceName;
50 std::vector<CNetworkInterface*>& GetInterfaceList()
override;
54 bool PingHost(
unsigned long host,
unsigned int timeout_ms = 2000)
override;
57 std::vector<std::string> GetNameServers()
override;
62 int GetSocket() {
return m_sock; }
63 void queryInterfaceList();
64 std::vector<CNetworkInterfaceIOS*> m_interfaces;
Definition: NetworkIOS.h:18
Definition: NetworkIOS.h:43
bool GetHostMacAddress(unsigned long host, std::string &mac) const override
Definition: NetworkIOS.mm:413
void GetMacAddressRaw(char rawMac[6]) const override
Definition: NetworkIOS.mm:87
std::string GetMacAddress() const override
Definition: NetworkIOS.mm:81