Browse Source

doc: fix links in socket.connecting

PR-URL: https://github.com/nodejs/node/pull/6657
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
v7.x
Kirill Fomichev 9 years ago
committed by James M Snell
parent
commit
ffc708daad
  1. 6
      doc/api/net.md

6
doc/api/net.md

@ -400,14 +400,14 @@ The `connectListener` parameter will be added as a listener for the
### socket.connect(path[, connectListener])
### socket.connect(port[, host][, connectListener])
As [`socket.connect(options\[, connectListener\])`][`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}`.
### socket.connecting
If `true` - [`socket.connect(options\[, connectListener\])`][] was called and
If `true` - [`socket.connect(options[, connectListener])`][`socket.connect(options, connectListener)`] was called and
haven't yet finished. Will be set to `false` before emitting `connect` event
and/or calling [`socket.connect(options\[, connectListener\])`][]'s callback.
and/or calling [`socket.connect(options[, connectListener])`][`socket.connect(options, connectListener)`]'s callback.
### socket.destroy()

Loading…
Cancel
Save