From 50a63291f6b3e455d5adc13912c4a7fc94974e1d Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Sat, 3 Nov 2018 19:51:54 +0100 Subject: [PATCH] doc: fix socket.connecting description In particular, this value is `true` and not `false` between calling `connect()` and the operation finishing. --- doc/api/net.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/net.md b/doc/api/net.md index eb48ab8d00c87f..0ae44bfb329a4d 100644 --- a/doc/api/net.md +++ b/doc/api/net.md @@ -658,9 +658,9 @@ called with `{port: port, host: host}` as `options`. added: v6.1.0 --> -If `true` - +If `true`, [`socket.connect(options[, connectListener])`][`socket.connect(options)`] -was called and haven't yet finished. Will be set to `false` before emitting +was called and has not yet finished. Will be set to `true` before emitting `'connect'` event and/or calling [`socket.connect(options[, connectListener])`][`socket.connect(options)`]'s callback.