Skip to content

Commit c1bf3fc

Browse files
fanatidevanlucas
authored andcommitted
doc: fix links in socket.connecting
PR-URL: #6657 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent ad895f4 commit c1bf3fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/net.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -397,14 +397,14 @@ The `connectListener` parameter will be added as a listener for the
397397
### socket.connect(path[, connectListener])
398398
### socket.connect(port[, host][, connectListener])
399399

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

403403
### socket.connecting
404404

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

409409
### socket.destroy()
410410

0 commit comments

Comments
 (0)