mcpinger/main.cpp
2024-05-08 10:24:32 +02:00

9 lines
297 B
C++

#include "cli_parser.h"
#include "network_utils.h"
int main(int argc, char* argv[]) {
config config;
config.parseCommandLine(argc, argv);
return pingMinecraftServer(config.hostname, config.port, config.virtualHostname, config.virtualPort, config.protocolVersion, config.nextState);
}