mirror of https://github.com/icedream/ts3bot.git
parent
b8be9e0b53
commit
0a0a3875e5
|
@ -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) =>
|
||||
|
|
Loading…
Reference in New Issue