socket.destroy([error])


确保在此 socket 上不再有 I/O 活动。 销毁流并关闭连接。

有关更多详细信息,参见 writable.destroy()

Ensures that no more I/O activity happens on this socket. Destroys the stream and closes the connection.

See writable.destroy() for further details.