projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a32b878
)
doc: net: fix typo in example code
author
Yazhong Liu
<yorkiefixer@gmail.com>
Fri, 29 Nov 2013 16:44:13 +0000
(
00:44
+0800)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Sat, 30 Nov 2013 13:05:45 +0000
(14:05 +0100)
doc/api/net.markdown
patch
|
blob
|
history
diff --git
a/doc/api/net.markdown
b/doc/api/net.markdown
index
513acb1
..
9cd6ddf
100644
(file)
--- a/
doc/api/net.markdown
+++ b/
doc/api/net.markdown
@@
-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])