mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-28 00:16:17 +02:00
v0.3.4
This commit is contained in:
parent
a3dc6bb5a1
commit
6cffd2b86e
3 changed files with 3 additions and 2 deletions
|
@ -141,6 +141,7 @@ void ControlServer::handleAccept(socket_ptr socket)
|
|||
tv.tv_usec = 0;
|
||||
setsockopt(socket->native(), SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv));
|
||||
setsockopt(socket->native(), SOL_SOCKET, SO_SNDTIMEO, &tv, sizeof(tv));
|
||||
// socket->set_option(boost::asio::ip::tcp::no_delay(false));
|
||||
logS(kLogNotice) << "ControlServer::NewConnection: " << socket->remote_endpoint().address().to_string() << endl;
|
||||
shared_ptr<ServerSession> session = make_shared<ServerSession>(this, socket);
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue