mirror of
https://github.com/nodejs/node.git
synced 2026-11-15 10:36:53 -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.