mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-21 04:56:13 +02:00
merged with master
This commit is contained in:
commit
6e32da33f3
4 changed files with 65 additions and 51 deletions
|
@ -104,6 +104,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<ControlSession> session = make_shared<ControlSession>(this, socket);
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue