Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Typo in Net createConnection's parameter name #7112

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/api/net.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,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])

Constructs a new socket object and opens the socket to the given location.
When the socket is established, the ['connect'][] event will be emitted.
Expand Down