Closed
Description
Not sure if this is a problem or not. But currently net.Socket
doesn't quite follow the stream interface.
i.e., https://nodejs.org/api/net.html#net_event_close_1 says 'close'
has an argument hadError
which stream 'close'
is not supposed to have. This can break some code that assumes that streams always emit 'close'
without arguments.