diff --git a/doc/api/net.markdown b/doc/api/net.markdown index 9cd6ddf5196..7e1412ea0f8 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`.