#pragma once #include #include #pragma comment(lib,"ws2_32.lib") #include #include #include #include #include using namespace std; class SocketManager { private: static const int PORT = 9001; sockaddr_in clientaddr; public: static string ADDR; static const int OCR_PORT = 9002; ~SocketManager(); static string sendMsg(const char*); static string sendMsg(string addr,int port, const char*); };