socket.destroy([error])
error<Object>- 返回:<net.Socket>
确保当前连接上不再有任何 I/O 活动。销毁流并关闭连接。
🌐 Ensures that no more I/O activity happens on the current connection. Destroys the stream and closes the connection.
有关详细信息,请参见writable.destroy()。
🌐 See writable.destroy() for further details.