mirror of
https://github.com/edubart/otclient.git
synced 2025-12-29 02:47:12 +01:00
connection is now working properly
This commit is contained in:
@@ -40,6 +40,8 @@ public:
|
||||
bool isConnected() const { return m_connected; }
|
||||
|
||||
const boost::system::error_code& getLastError() const { return m_lastError; }
|
||||
|
||||
void resetLastError() { m_lastError = boost::system::error_code(); }
|
||||
|
||||
private:
|
||||
void onResolveDns(const boost::system::error_code& error, boost::asio::ip::tcp::resolver::iterator endpoint_iterator);
|
||||
|
||||
Reference in New Issue
Block a user