You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
454 B
C++
25 lines
454 B
C++
//
|
|
// Created by koncord on 07.01.17.
|
|
//
|
|
|
|
#ifndef NEWLAUNCHER_PING_HPP
|
|
#define NEWLAUNCHER_PING_HPP
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
|
|
#define PING_UNREACHABLE 999
|
|
|
|
unsigned int PingRakNetServer(const char *addr, unsigned short port);
|
|
|
|
struct ServerExtendedData
|
|
{
|
|
std::vector<std::string> players;
|
|
std::vector<std::string> plugins;
|
|
};
|
|
|
|
ServerExtendedData getExtendedData(const char *addr, unsigned short port);
|
|
|
|
#endif //NEWLAUNCHER_PING_HPP
|