diff --git a/website/api.html b/website/api.html index 95e98f27f80..eb4941bc7c0 100644 --- a/website/api.html +++ b/website/api.html @@ -421,6 +421,13 @@ server.listen(7000, "localhost");
new node.tcp.Connection()
connection.connect(port, host="127.0.0.1")
port
and
+ host
. If the second parameter is omitted, localhost is
+ assumed.
+ connection.readyState
"closed"
, "open"
,