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:
Sam Roberts committed 2015-09-16 10:52:12 -07:00
1 parent e148dcce45
commit 6cb9e8a9c4
1 file changed
+1 -1
+1 -1
View File
@@ -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: