From bb0f869f67e5990c25fbaec67c18fb0800fd4969 Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Sun, 13 Sep 2015 17:03:41 +0100 Subject: [PATCH] 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 --- doc/api/net.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/net.markdown b/doc/api/net.markdown index f2be29a6b0d2a4..33b6a46871e909 100644 --- 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: