事件:'timeout'
\Event: 'timeout'
新增于: v0.1.90
如果套接字因不活动而超时则触发。这只是为了通知套接字已经空闲。用户必须手动关闭连接。
\Emitted if the socket times out from inactivity. This is only to notify that the socket has been idle. The user must manually close the connection.
也可以看看:socket.setTimeout()。
\See also: socket.setTimeout().