Browse Source

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
v4.0.0-rc
James M Snell 10 years ago
parent
commit
0679dcc9b7
  1. 4
      doc/api/net.markdown

4
doc/api/net.markdown

@ -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`.

Loading…
Cancel
Save