Browse Source

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 <cjihrig@gmail.com>
v5.x
Sam Roberts 9 years ago
parent
commit
6cb9e8a9c4
  1. 2
      doc/api/net.markdown

2
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:

Loading…
Cancel
Save