Skip to content

Commit

Permalink
doc: remove incorrect reference to TCP in net docs
Browse files Browse the repository at this point in the history
createServer() can create socket of types other than TCP.

PR-URL: #2903
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
sam-github committed Sep 16, 2015
1 parent e148dcc commit 6cb9e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/net.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6cb9e8a

Please sign in to comment.