Browse Source

doc: fix relative links in net docs

They were not being processed as relative links.

PR-URL: https://github.com/nodejs/node/pull/5358
Reviewed-By: Roman Reiss <me@silverwind.io>
process-exit-stdio-flushing
Evan Lucas 9 years ago
committed by Roman Reiss
parent
commit
1c30d606b1
  1. 14
      doc/api/net.markdown

14
doc/api/net.markdown

@ -109,7 +109,7 @@ The last parameter `callback` will be added as a listener for the
[`'listening'`][] event. [`'listening'`][] event.
The parameter `backlog` behaves the same as in The parameter `backlog` behaves the same as in
[`server.listen(port, \[host\], \[backlog\], \[callback\])`][]. [`server.listen(port[, hostname][, backlog][, callback])`][`server.listen(port, host, backlog, callback)`].
### server.listen(options[, callback]) ### server.listen(options[, callback])
@ -123,8 +123,8 @@ The parameter `backlog` behaves the same as in
The `port`, `host`, and `backlog` properties of `options`, as well as the The `port`, `host`, and `backlog` properties of `options`, as well as the
optional callback function, behave as they do on a call to optional callback function, behave as they do on a call to
[`server.listen(port, \[host\], \[backlog\], \[callback\])`][]. Alternatively, [`server.listen(port[, hostname][, backlog][, callback])`][`server.listen(port, host, backlog, callback)`].
the `path` option can be used to specify a UNIX socket. Alternatively, the `path` option can be used to specify a UNIX socket.
If `exclusive` is `false` (default), then cluster workers will use the same If `exclusive` is `false` (default), then cluster workers will use the same
underlying handle, allowing connection handling duties to be shared. When underlying handle, allowing connection handling duties to be shared. When
@ -169,7 +169,7 @@ double-backslashes, such as:
path.join('\\\\?\\pipe', process.cwd(), 'myctl')) path.join('\\\\?\\pipe', process.cwd(), 'myctl'))
The parameter `backlog` behaves the same as in The parameter `backlog` behaves the same as in
[`server.listen(port, \[host\], \[backlog\], \[callback\])`][]. [`server.listen(port[, hostname][, backlog][, callback])`][`server.listen(port, host, backlog, callback)`].
### server.listen(port[, hostname][, backlog][, callback]) ### server.listen(port[, hostname][, backlog][, callback])
@ -394,7 +394,7 @@ The `connectListener` parameter will be added as a listener for the
### socket.connect(path[, connectListener]) ### socket.connect(path[, connectListener])
### socket.connect(port[, host][, connectListener]) ### socket.connect(port[, host][, connectListener])
As [`socket.connect(options\[, connectListener\])`][], As [`socket.connect(options\[, connectListener\])`][`socket.connect(options, connectListener)`],
with options either as either `{port: port, host: host}` or `{path: path}`. with options either as either `{port: port, host: host}` or `{path: path}`.
### socket.destroy() ### socket.destroy()
@ -725,8 +725,8 @@ Returns true if input is a version 6 IP address, otherwise returns false.
[`pause()`]: #net_socket_pause [`pause()`]: #net_socket_pause
[`resume()`]: #net_socket_resume [`resume()`]: #net_socket_resume
[`server.getConnections()`]: #net_server_getconnections_callback [`server.getConnections()`]: #net_server_getconnections_callback
[`server.listen(port, \[host\], \[backlog\], \[callback\])`]: #net_server_listen_port_hostname_backlog_callback [`server.listen(port, host, backlog, callback)`]: #net_server_listen_port_hostname_backlog_callback
[`socket.connect(options\[, connectListener\])`]: #net_socket_connect_options_connectlistener [`socket.connect(options, connectListener)`]: #net_socket_connect_options_connectlistener
[`socket.connect`]: #net_socket_connect_options_connectlistener [`socket.connect`]: #net_socket_connect_options_connectlistener
[`socket.setTimeout()`]: #net_socket_settimeout_timeout_callback [`socket.setTimeout()`]: #net_socket_settimeout_timeout_callback
[`stream.setEncoding()`]: stream.html#stream_readable_setencoding_encoding [`stream.setEncoding()`]: stream.html#stream_readable_setencoding_encoding

Loading…
Cancel
Save