clean up
This commit is contained in:
parent
8b98846b0b
commit
dad4770cd8
1 changed files with 1 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ void Socket::listen() {
|
||||||
remote_endpoint_,
|
remote_endpoint_,
|
||||||
[this](asio::error_code ec, std::size_t bytes_recvd)
|
[this](asio::error_code ec, std::size_t bytes_recvd)
|
||||||
{
|
{
|
||||||
|
printf("Echo");
|
||||||
if (ec || bytes_recvd == 0) {
|
if (ec || bytes_recvd == 0) {
|
||||||
listen();
|
listen();
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue