socket.destroy([error])


确保此套接字上不再发生 I/O 活动。销毁流并关闭连接。

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

有关详细信息,请参阅 writable.destroy()

¥See writable.destroy() for further details.