diff options
author | Julian Gruber <julian@juliangruber.com> | 2014-04-24 04:18:31 -0700 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2014-04-24 19:59:41 +0400 |
commit | b0fa931e0751df74242b9f069388b628e1ab43c2 (patch) | |
tree | dc5b140ce41e9eeebc3db20691d24510c8bb4960 | |
parent | 4601e7c8927ba5655f0872f1f1794aec2b9a4d56 (diff) | |
download | node-b0fa931e0751df74242b9f069388b628e1ab43c2.tar.gz |
doc: fix order in net api
Signed-off-by: Fedor Indutny <fedor@indutny.com>
-rw-r--r-- | doc/api/net.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/net.markdown b/doc/api/net.markdown index 9cd6ddf51..7e1412ea0 100644 --- a/doc/api/net.markdown +++ b/doc/api/net.markdown @@ -235,8 +235,6 @@ This becomes `null` when sending a socket to a child with `child_process.fork()`. To poll forks and get current number of active connections use asynchronous `server.getConnections` instead. -`net.Server` is an [EventEmitter][] with the following events: - ### server.getConnections(callback) Asynchronously get the number of concurrent connections on the server. Works @@ -244,6 +242,8 @@ when sockets were sent to forks. Callback should take two arguments `err` and `count`. +`net.Server` is an [EventEmitter][] with the following events: + ### Event: 'listening' Emitted when the server has been bound after calling `server.listen`. |