What is the difference between net.connect and net.createConnection in node.js?
<p>I was reading the documentation from the net module in Node.js and I can't see any difference between the methods <code>net.connect</code> and <code>net.createConnection</code>.</p>

<p>Are they exactly the same or is there is some difference?</p>