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:
302d59d
)
doc: remove incorrect reference to TCP in net docs
author
Sam Roberts
<vieuxtech@gmail.com>
Sun, 13 Sep 2015 16:03:41 +0000
(17:03 +0100)
committer
Jeremiah Senkpiel
<fishrock123@rocketmail.com>
Wed, 16 Sep 2015 20:07:59 +0000
(16:07 -0400)
createServer() can create socket of types other than TCP.
PR-URL: https://github.com/nodejs/node/pull/2903
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
doc/api/net.markdown
patch
|
blob
|
history
diff --git
a/doc/api/net.markdown
b/doc/api/net.markdown
index
f2be29a
..
33b6a46
100644
(file)
--- a/
doc/api/net.markdown
+++ b/
doc/api/net.markdown
@@
-8,7
+8,7
@@
this module with `require('net');`.
## net.createServer([options][, connectionListener])
-Creates a new
TCP
server. The `connectionListener` argument is
+Creates a new server. The `connectionListener` argument is
automatically set as a listener for the ['connection'][] event.
`options` is an object with the following defaults: