Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile TCPClient.cpp Error #16

Open
dreamrelax opened this issue Nov 20, 2018 · 3 comments
Open

Compile TCPClient.cpp Error #16

dreamrelax opened this issue Nov 20, 2018 · 3 comments

Comments

@dreamrelax
Copy link

dreamrelax commented Nov 20, 2018

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.

@MyLibh
Copy link
Owner

MyLibh commented Nov 20, 2018

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

@dreamrelax
Copy link
Author

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

@MyLibh
Copy link
Owner

MyLibh commented Nov 20, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants