Trojan icon indicating copy to clipboard operation
Trojan copied to clipboard

Compile TCPClient.cpp Error

Open dreamrelax opened this issue 7 years ago • 3 comments
trafficstars

I am compile Client Console project , but compile error at TCPClient.cpp.

line 36: TCPClient::async_connect() this function can't compile

void TCPClient::async_connect() { boost::asio::async_connect(this->m_socket, *m_endpoint, [this](boost::system::error_code ec, boost::asio::ip::tcp::endpoint endpoint) { if (!ec) { LOG(info) << "Connected via TCP: " << endpoint;

		this->m_connected = true;

		this->read_header();
	}
	else
		PrintBoostError(ec);
});

}

*m_endpoint this parameter have a error message :

The latest version of this topic can be found at Compiler Error C2100. illegal indirection Indirection operator ( * ) is applied to a nonpointer value.

dreamrelax avatar Nov 20 '18 13:11 dreamrelax

Unfortunately, smth went wrong with some last commits (after adding udp). Now I am working on new architecture, so this branch can't be viewed. Also, project was not released yet, so smth can work not properly

MyLibh avatar Nov 20 '18 15:11 MyLibh

Thank you, I will continue to pay attention to this project. I look forward to your new version.

dreamrelax avatar Nov 20 '18 15:11 dreamrelax

Thanks! Unfortunately, I have some exams now, so I haven't got enough time to code. U will be notified about new working version, if u want. Again thanks for respond

MyLibh avatar Nov 20 '18 19:11 MyLibh