mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
net.createConnection() is wrapper for net.Socket.connect(), but There is mismatch between them. net.createConnection(port, [host]) net.Socket.connect(port, [host], [callback]) Fixes #1208.