Functions | |
bool | hasInternetConnection () |
std::tuple< bool, std::string, std::optional< TimePoint_System_Millisecond > > | checkInternetConnectionAndGetGMTTime (bool forceRefresh=false) |
std::vector< uint8_t > | curlDownloadNoBody (const std::string &url, uint32_t timeout_ms=0, long *httpResponseCode=nullptr) |
std::vector< uint8_t > | curlDownload (const std::string &url, uint32_t timeout_ms=0, long *httpResponseCode=nullptr) |
std::string | curlDownloadContentAsString (const std::string &url, uint32_t timeout_ms=0, long *httpResponseCode=nullptr) |
int | udpSendData (const std::string &sessionName, const uint8_t *data, uint32_t bufferLength, const std::string &targetIP, uint16_t targetPoint, std::optional< uint16_t > sourcePort=std::nullopt) |
std::tuple< bool, std::string, std::optional< TimePoint_System_Millisecond > > SystemTools::Net::checkInternetConnectionAndGetGMTTime | ( | bool | forceRefresh = false | ) |
std::vector< uint8_t > SystemTools::Net::curlDownload | ( | const std::string & | url, |
uint32_t | timeout_ms = 0 , |
||
long * | httpResponseCode = nullptr |
||
) |
std::string SystemTools::Net::curlDownloadContentAsString | ( | const std::string & | url, |
uint32_t | timeout_ms = 0 , |
||
long * | httpResponseCode = nullptr |
||
) |
std::vector< uint8_t > SystemTools::Net::curlDownloadNoBody | ( | const std::string & | url, |
uint32_t | timeout_ms = 0 , |
||
long * | httpResponseCode = nullptr |
||
) |
bool SystemTools::Net::hasInternetConnection | ( | ) |
int SystemTools::Net::udpSendData | ( | const std::string & | sessionName, |
const uint8_t * | data, | ||
uint32_t | bufferLength, | ||
const std::string & | targetIP, | ||
uint16_t | targetPoint, | ||
std::optional< uint16_t > | sourcePort = std::nullopt |
||
) |