Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Namespaces | |
namespace | kodi |
namespace | kodi::network |
Functions | |
bool ATTR_DLL_LOCAL | kodi::network::WakeOnLan (const std::string &mac) |
Send WakeOnLan magic packet. | |
std::string ATTR_DLL_LOCAL | kodi::network::GetIPAddress () |
To the current own ip address as a string. | |
std::string ATTR_DLL_LOCAL | kodi::network::GetHostname () |
Return our hostname. | |
std::string ATTR_DLL_LOCAL | kodi::network::GetUserAgent () |
Returns Kodi's HTTP UserAgent string. | |
bool ATTR_DLL_LOCAL | kodi::network::IsLocalHost (const std::string &hostname) |
Check given name or ip address corresponds to localhost. | |
bool ATTR_DLL_LOCAL | kodi::network::IsHostOnLAN (const std::string &hostname, bool offLineCheck=false) |
Checks whether the specified path refers to a local network. | |
std::string ATTR_DLL_LOCAL | kodi::network::URLEncode (const std::string &url) |
URL encodes the given string. | |
bool ATTR_DLL_LOCAL | kodi::network::DNSLookup (const std::string &hostName, std::string &ipAddress) |
Lookup URL in DNS cache. | |