#ifndef CONNECTOR_H #define CONNECTOR_H #include #include #include #if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__) #include #include #pragma comment(lib, "iphlpapi.lib") #pragma comment(lib,"curllib.lib") #endif #include class Connector { public: static int nConnect(const char *ip, const int port, std::string *buffer, const char *postData = NULL, const std::vector *customHeaders = NULL); static int _ConnectToPort(char *ip, int port, char *hl); static int _SSHLobby(char *ip, int port, std::string *buffer); }; #endif // CONNECTOR_H