mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04: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.