Skip to content

Commit

Permalink
doc: update parameter name in net.markdown
Browse files Browse the repository at this point in the history
per: nodejs/node-v0.x-archive#7112

originally submitted by @Peekmo

Reviewed By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
PR-URL: #2378
  • Loading branch information
jasnell authored and rvagg committed Aug 26, 2015
1 parent 04111ce commit 94d83c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/net.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 94d83c0

Please sign in to comment.