diff --git a/ts3query.iced b/ts3query.iced index 4ff1230..a26743c 100644 --- a/ts3query.iced +++ b/ts3query.iced @@ -107,6 +107,7 @@ module.exports = class TS3ClientQuery extends EventEmitter connect: (cb) => @_tcpClient = new net.Socket + @_tcpClient.setKeepAlive true, 60000 @_tcpClient.on "close", () => @emit "close" @_tcpClient.on "error", (err) =>