Skip to content

Commit ce0c668

Browse files
committed
fix wrap
1 parent 090607c commit ce0c668

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

doc/api/net.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,8 @@ Possible signatures:
526526
* [socket.connect(options[, connectListener])][`socket.connect(options)`]
527527
* [socket.connect(path[, connectListener])][`socket.connect(path)`]
528528
for [IPC][] connections.
529-
* [socket.connect(port[, host][, connectListener])][`socket.connect(port, host)`] for TCP connections.
529+
* [socket.connect(port[, host][, connectListener])][`socket.connect(port, host)`]
530+
for TCP connections.
530531

531532
This function is asynchronous. When the connection is established, the
532533
[`'connect'`][] event will be emitted. If there is a problem connecting,
@@ -609,9 +610,12 @@ called with `{port: port, host: host}` as `options`.
609610
added: v6.1.0
610611
-->
611612

612-
If `true` - [`socket.connect(options[, connectListener])`][`socket.connect(options)`] was called and
613-
haven't yet finished. Will be set to `false` before emitting `connect` event
614-
and/or calling [`socket.connect(options[, connectListener])`][`socket.connect(options)`]'s callback.
613+
If `true` -
614+
[`socket.connect(options[, connectListener])`][`socket.connect(options)`]
615+
was called and haven't yet finished. Will be set to `false` before emitting
616+
`connect` event and/or calling
617+
[`socket.connect(options[, connectListener])`][`socket.connect(options)`]'s
618+
callback.
615619

616620
### socket.destroy([exception])
617621
<!-- YAML

0 commit comments

Comments
 (0)