doc: fix order in net api
authorJulian Gruber <julian@juliangruber.com>
Thu, 24 Apr 2014 11:18:31 +0000 (04:18 -0700)
committerFedor Indutny <fedor@indutny.com>
Thu, 24 Apr 2014 15:59:41 +0000 (19:59 +0400)
Signed-off-by: Fedor Indutny <fedor@indutny.com>
doc/api/net.markdown

index 9cd6ddf..7e1412e 100644 (file)
@@ -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`.