16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 16:19:19 +02:00
This commit is contained in:
milek7
2018-12-20 20:47:19 +01:00
parent 35af6d48d6
commit 21fff27903
8 changed files with 59 additions and 6 deletions

View File

@@ -43,4 +43,14 @@ namespace network
asio::ip::tcp::acceptor m_acceptor;
};
class tcp_client : public client
{
private:
std::shared_ptr<tcp_conn> conn;
void handle_accept(const asio::error_code &err);
public:
tcp_client(asio::io_context &io_ctx);
};
}