Skip to content

Commit

Permalink
doc: net: fix typo in example code
Browse files Browse the repository at this point in the history
  • Loading branch information
yorkie authored and bnoordhuis committed Nov 30, 2013
1 parent a32b878 commit fcfaa39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/net.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Here is an example of a client of echo server as described previously:
To connect on the socket `/tmp/echo.sock` the second line would just be
changed to

var client = net.connect({path: '/tmp/echo.sock'},
var client = net.connect({path: '/tmp/echo.sock'});

## net.connect(port, [host], [connectListener])
## net.createConnection(port, [host], [connectListener])
Expand Down

0 comments on commit fcfaa39

Please sign in to comment.