From 0679dcc9b735d4e4230e944b3a385676c268d6f1 Mon Sep 17 00:00:00 2001 From: James M Snell Date: Fri, 14 Aug 2015 11:43:23 -0700 Subject: [PATCH] doc: update parameter name in net.markdown per: https://github.com/joyent/node/pull/7112 originally submitted by @Peekmo Reviewed By: Sakthipriyan Vairamani PR-URL: https://github.com/nodejs/node/pull/2378 --- doc/api/net.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/net.markdown b/doc/api/net.markdown index e7858dd..f2be29a 100644 --- a/doc/api/net.markdown +++ b/doc/api/net.markdown @@ -57,8 +57,8 @@ Use `nc` to connect to a UNIX domain socket server: nc -U /tmp/echo.sock -## net.connect(options[, connectionListener]) -## net.createConnection(options[, connectionListener]) +## net.connect(options[, connectListener]) +## net.createConnection(options[, connectListener]) A factory function, which returns a new ['net.Socket'](#net_class_net_socket) and automatically connects with the supplied `options`. -- 2.7.4