From c1bf3fc0b15424047da46924d759617e87da038f 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 054069f0de5b01..90b94f9a813634 100644 --- a/doc/api/net.md +++ b/doc/api/net.md @@ -397,14 +397,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()