中文版 Still in production
-
clone and edit
CMakeLists.txt
changeCMAKE_CXX_COMPILER
into where your clang is.build with c++20 cmake and boost
//Ping Host
#include <iostream>
#include "./tools/PingHost.cpp"
#include "./arc/util/Log.cpp"
using namespace tools;
using namespace arc::util;
int main(){
Log::info("Ping Host ${} : ${} ${} ","n2.akiracloud.net"
,10404,pingHost(10404,"n2.akiracloud.net").toString());
return 0;
}