From b3fc14417381183e5dfd6a3d861fec991d057e52 Mon Sep 17 00:00:00 2001 From: Axel Anceau Date: Thu, 13 Feb 2014 22:22:24 +0100 Subject: [PATCH] net: typo in createConnection's parameter name --- 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 d9420131181..1cf1f11816b 100644 --- a/doc/api/net.markdown +++ b/doc/api/net.markdown @@ -50,8 +50,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]) Constructs a new socket object and opens the socket to the given location. When the socket is established, the ['connect'][] event will be emitted.