Update BoostConnection.h
This commit is contained in:
parent
b379f21cb3
commit
f4bd7c1ca3
1 changed files with 4 additions and 2 deletions
|
@ -57,7 +57,9 @@ public:
|
|||
boost::asio::ip::tcp::resolver::iterator endpointIterator)
|
||||
{
|
||||
if (!error) {
|
||||
#ifdef APP_DEBUG
|
||||
boost::asio::ip::tcp::endpoint endpoint = *endpointIterator;
|
||||
#endif
|
||||
|
||||
LOG_DEBUG("[%s:%d] DNS resolved ", endpoint.address().to_string().c_str(), endpoint.port());
|
||||
m_socket.connect(endpointIterator, boost::bind(&BoostConnection::handleConnect, this->shared_from_this(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue