diff --git a/src/minecraft/network/socket_abstraction.cpp b/src/minecraft/network/socket_abstraction.cpp index 4d9db62..39bce23 100644 --- a/src/minecraft/network/socket_abstraction.cpp +++ b/src/minecraft/network/socket_abstraction.cpp @@ -19,27 +19,6 @@ #include #include -class SocketAbstraction { -public: - SocketAbstraction(); - ~SocketAbstraction(); - - bool openSocket(const std::string& ip, unsigned short port); - bool sendData(const std::string& data); - std::string receiveData(size_t bufferSize = 1024); - void closeSocket(); - - std::string GetLocalIPAddress(); -private: - int sockfd; - struct sockaddr_in servaddr; - -#ifdef _WIN32 - WSADATA wsaData; -#endif -}; - -// Implementation SocketAbstraction::SocketAbstraction() : sockfd(-1) { #ifdef _WIN32