9 lines
297 B
C++
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);
|
||
|
}
|