mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
doc: remove incorrect reference to TCP in net docs
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>
This commit is contained in:
1 parent
e148dcce45
commit
6cb9e8a9c4
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user