mirror of
https://github.com/workinghard/Cube4Fun.git
synced 2025-12-13 20:32:09 +00:00
a
This commit is contained in:
@@ -30,6 +30,8 @@
|
|||||||
#include <stdlib.h> /* srand, rand */
|
#include <stdlib.h> /* srand, rand */
|
||||||
#include <time.h> /* time */
|
#include <time.h> /* time */
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
#include "tcpconnector.h"
|
||||||
|
#include <string>
|
||||||
|
|
||||||
class CubeNetwork
|
class CubeNetwork
|
||||||
{
|
{
|
||||||
@@ -41,6 +43,8 @@ public:
|
|||||||
static bool openConnection(const char* ipAddr, unsigned int port);
|
static bool openConnection(const char* ipAddr, unsigned int port);
|
||||||
//static void openConnection();
|
//static void openConnection();
|
||||||
static void closeConnection();
|
static void closeConnection();
|
||||||
|
private:
|
||||||
|
static TCPConnector* connector;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* defined(__Cube4Fun__CubeNetwork__) */
|
#endif /* defined(__Cube4Fun__CubeNetwork__) */
|
||||||
|
|||||||
Reference in New Issue
Block a user