Class meant to facilitate the use of networking functionalities.

#include <networking.h>

Static Public Member Functions

static bool isIPFormatValid (const std::string &ip)
 
static bool isInterfaceActive (const std::string &iface)
 
static bool getIPv4Address (const std::string &iface, std::string &address)
 
static uint32_t getInterfaceStatistics (boost::system::error_code &ec, const std::string &iface, const dpyNetworking::Statistics &type)
 
static float getDailyTraffic (boost::system::error_code &ec, const std::string &iface, const struct tm date)