mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-13 00:56:44 +02:00
Rename experimental.tcp to tcp
This commit is contained in:
parent
fd616956cb
commit
3cb9902bbe
4 changed files with 14 additions and 2 deletions
|
@ -64,6 +64,9 @@ TcpStream::TcpStream(PcmListener* pcmListener, boost::asio::io_context& ioc, con
|
|||
|
||||
void TcpStream::connect()
|
||||
{
|
||||
if (!active_)
|
||||
return;
|
||||
|
||||
auto self = shared_from_this();
|
||||
|
||||
if (is_server_)
|
||||
|
@ -109,4 +112,7 @@ void TcpStream::disconnect()
|
|||
{
|
||||
if (stream_)
|
||||
stream_->close();
|
||||
if (acceptor_)
|
||||
acceptor_->cancel();
|
||||
reconnect_timer_.cancel();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue