Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <NetworkWin10.h>
Public Member Functions | |
CNetworkWin10 () | |
virtual | ~CNetworkWin10 (void) |
std::vector< CNetworkInterface * > & | GetInterfaceList (void) override |
CNetworkInterface * | GetFirstConnectedInterface () override |
std::vector< std::string > | GetNameServers (void) override |
bool | PingHost (unsigned long host, unsigned int timeout_ms=2000) override |
Public Member Functions inherited from CNetworkBase | |
CNetworkBase () | |
virtual | ~CNetworkBase () |
CNetworkServices & | GetServices () |
virtual bool | GetHostName (std::string &hostname) |
bool | HasInterfaceForIP (unsigned long address) |
bool | IsAvailable (void) |
bool | IsConnected (void) |
bool | WakeOnLan (const char *mac) |
bool | PingHost (unsigned long host, unsigned short port, unsigned int timeout_ms=2000, bool readability_check=false) |
void | NetworkMessage (EMESSAGE message, int param) |
bool | IsLocalHost (const std::string &hostname) |
void | WaitForNet () |
Friends | |
class | CNetworkInterfaceWin10 |
Additional Inherited Members | |
Public Types inherited from CNetworkBase | |
enum | EMESSAGE { SERVICES_UP , SERVICES_DOWN } |
Static Public Member Functions inherited from CNetworkBase | |
static std::unique_ptr< CNetworkBase > | GetNetwork () |
static int | ParseHex (char *str, unsigned char *addr) |
static std::string | GetIpStr (const sockaddr *sa) |
IPv6/IPv4 compatible conversion of host IP address. | |
static std::string | GetMaskByPrefixLength (uint8_t prefixLength) |
convert prefix length of IPv4 address to IP mask representation | |
Public Attributes inherited from CNetworkBase | |
std::unique_ptr< CNetworkServices > | m_services |
CNetworkWin10::CNetworkWin10 | ( | ) |
|
virtual |
|
overridevirtual |
Reimplemented from CNetworkBase.
|
overridevirtual |
Implements CNetworkBase.
|
overridevirtual |
Implements CNetworkBase.
Implements CNetworkBase.
|
friend |