|
std::vector< CNetworkInterface * > & | GetInterfaceList () override |
|
CNetworkInterface * | GetFirstConnectedInterface () override |
|
int | GetSocket () |
|
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) |
|
virtual bool | PingHost (unsigned long host, unsigned int timeout_ms=2000)=0 |
|
virtual std::vector< std::string > | GetNameServers (void)=0 |
|
void | NetworkMessage (EMESSAGE message, int param) |
|
bool | IsLocalHost (const std::string &hostname) |
|
void | WaitForNet () |
|
|
enum | EMESSAGE { SERVICES_UP,
SERVICES_DOWN
} |
|
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. More...
|
|
static std::string | GetMaskByPrefixLength (uint8_t prefixLength) |
| convert prefix length of IPv4 address to IP mask representation More...
|
|
std::unique_ptr< CNetworkServices > | m_services |
|
◆ GetFirstConnectedInterface()
- Bug:
- Overwrite the GetFirstConnectedInterface and requery the interface list if no connected device is found this fixes a bug when no network is available after first start of xbmc and the interface comes up during runtime
Reimplemented from CNetworkBase.
The documentation for this class was generated from the following files:
- xbmc/platform/posix/network/NetworkPosix.h
- xbmc/platform/posix/network/NetworkPosix.cpp