diff --git a/src/networking/server.cpp b/src/networking/server.cpp index 98a6d8b..feb0d4d 100644 --- a/src/networking/server.cpp +++ b/src/networking/server.cpp @@ -121,6 +121,8 @@ void Server::initServer() void Server::handleConnection() { clientConnection = tcpServer->nextPendingConnection(); + // disable Nagle's algorithm to avoid delay and bunching of small packages + clientConnection->setSocketOption(QAbstractSocket::LowDelayOption, 1); isGamepadConnected = true; QString connectionMessage; connectionMessage =