From ffc708daad2c512bfe5bc28af07d237bfeaaf89b Mon Sep 17 00:00:00 2001 From: Kirill Fomichev Date: Mon, 9 May 2016 20:15:14 +0300 Subject: [PATCH] doc: fix links in socket.connecting PR-URL: https://github.com/nodejs/node/pull/6657 Reviewed-By: Roman Reiss Reviewed-By: James M Snell --- doc/api/net.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/net.md b/doc/api/net.md index 9ba8648018c..62677255bbc 100644 --- a/doc/api/net.md +++ b/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()