doc: remove incorrect reference to TCP in net docs
authorSam Roberts <vieuxtech@gmail.com>
Sun, 13 Sep 2015 16:03:41 +0000 (17:03 +0100)
committerJeremiah 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

index f2be29a..33b6a46 100644 (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: