connection is now working properly

This commit is contained in:
Andre Antunes
2011-04-07 15:02:06 -03:00
parent 8d1281b316
commit 6f952adae2
5 changed files with 20 additions and 22 deletions

View File

@@ -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);