mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-10 07:36:41 +02:00
Add client mode to TcpStream
This commit is contained in:
parent
43c58febd7
commit
fd616956cb
3 changed files with 75 additions and 21 deletions
|
@ -40,6 +40,10 @@ protected:
|
|||
void connect() override;
|
||||
void disconnect() override;
|
||||
std::unique_ptr<tcp::acceptor> acceptor_;
|
||||
std::string host_;
|
||||
size_t port_;
|
||||
bool is_server_;
|
||||
boost::asio::deadline_timer reconnect_timer_;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue