doc: update parameter name in net.markdown

per: https://github.com/joyent/node/pull/7112

originally submitted by @Peekmo

Reviewed By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/2378
This commit is contained in:
James M Snell authored and Rod Vagg committed 2015-08-26 21:18:57 +10:00
1 parent 04111ce40f
commit 94d83c04f2
1 file changed
+2 -2
+2 -2
View File
@@ -57,8 +57,8 @@ Use `nc` to connect to a UNIX domain socket server:
nc -U /tmp/echo.sock
## net.connect(options[, connectionListener])
## net.createConnection(options[, connectionListener])
## net.connect(options[, connectListener])
## net.createConnection(options[, connectListener])
A factory function, which returns a new ['net.Socket'](#net_class_net_socket)
and automatically connects with the supplied `options`.