Skip to content

Commit ffc708d

Browse files
fanatidjasnell
authored andcommitted
doc: fix links in socket.connecting
PR-URL: nodejs#6657 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent b55becd commit ffc708d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/net.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -400,14 +400,14 @@ The `connectListener` parameter will be added as a listener for the
400400
### socket.connect(path[, connectListener])
401401
### socket.connect(port[, host][, connectListener])
402402

403-
As [`socket.connect(options\[, connectListener\])`][`socket.connect(options, connectListener)`],
403+
As [`socket.connect(options[, connectListener])`][`socket.connect(options, connectListener)`],
404404
with options either as either `{port: port, host: host}` or `{path: path}`.
405405

406406
### socket.connecting
407407

408-
If `true` - [`socket.connect(options\[, connectListener\])`][] was called and
408+
If `true` - [`socket.connect(options[, connectListener])`][`socket.connect(options, connectListener)`] was called and
409409
haven't yet finished. Will be set to `false` before emitting `connect` event
410-
and/or calling [`socket.connect(options\[, connectListener\])`][]'s callback.
410+
and/or calling [`socket.connect(options[, connectListener])`][`socket.connect(options, connectListener)`]'s callback.
411411

412412
### socket.destroy()
413413

0 commit comments

Comments
 (0)