如题
var client = net.connect(43, server, function() {
client.write(domain + '\n', 'ascii')
})
yields
{ Error: read ECONNRESET
at exports._errnoException (util.js:1050:11)
at TCP.onread (net.js:581:26) code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' }
However,
telnet xxxx 43
yields
telnet xxx 43
Trying xxx...
Connected to xxx.
Escape character is '^]'.