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:
5ed26f3
)
doc: fix net.createConnection() example
author
Brian White
<mscdex@mscdex.net>
Sat, 13 Feb 2016 20:40:00 +0000
(15:40 -0500)
committer
Myles Borins
<mborins@us.ibm.com>
Wed, 2 Mar 2016 22:01:11 +0000
(14:01 -0800)
PR-URL: https://github.com/nodejs/node/pull/5219
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
doc/api/net.markdown
patch
|
blob
|
history
diff --git
a/doc/api/net.markdown
b/doc/api/net.markdown
index
899f5d7
..
20e06d1
100644
(file)
--- a/
doc/api/net.markdown
+++ b/
doc/api/net.markdown
@@
-578,7
+578,7
@@
Here is an example of a client of the previously described echo server:
```js
const net = require('net');
-const client = net.c
onnect
({port: 8124}, () => {
+const client = net.c
reateConnection
({port: 8124}, () => {
//'connect' listener
console.log('connected to server!');
client.write('world!\r\n');