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 authored and Fishrock123 committed Sep 16, 2015
1 parent 302d59d commit bb0f869
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 bb0f869

Please sign in to comment.