Skip to content

Commit 6cb9e8a

Browse files
committed
doc: remove incorrect reference to TCP in net docs
createServer() can create socket of types other than TCP. PR-URL: nodejs#2903 Reviewed-By: Colin Ihrig <[email protected]>
1 parent e148dcc commit 6cb9e8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/net.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ this module with `require('net');`.
88

99
## net.createServer([options][, connectionListener])
1010

11-
Creates a new TCP server. The `connectionListener` argument is
11+
Creates a new server. The `connectionListener` argument is
1212
automatically set as a listener for the ['connection'][] event.
1313

1414
`options` is an object with the following defaults:

0 commit comments

Comments
 (0)