Trojan
Trojan copied to clipboard
Compile TCPClient.cpp Error
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.
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
Thank you, I will continue to pay attention to this project. I look forward to your new version.
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