mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
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:
1 parent
04111ce40f
commit
94d83c04f2
1 file changed
+2
-2
@@ -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`.
|
||||
|
||||
Reference in new issue
Block a user