joyent/node — pull request #8063 by kevinsimper (2014-08-03 00:31:51+00:00)
Title: doc: Tell that net.connect is a shorthand for net.Socket

I is not clear from the documentation that `net.connect` is a shorthand function for `net.Socket`, and therefore it can be diffucult to see what is the difference and what you should use, when there in reality is really no difference.

This commit makes it clearer that `net.connect` function is using `net.Socket`, so you should look at that function.