1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../../css/manpage.css" type="text/css" />
7<title>GetConnectingClients</title>
8  </head>
9  <body>
10<h1><CODE>nn::dlp::CTR::Server::GetConnectingClients</CODE> Member Function</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14static <a href="../../../../nn/Result/Overview.html">nn::Result</a> GetConnectingClients(
15     u16 * pNum,
16     u16 clients[],
17     u16 size
18);
19</pre>
20    </div>
21<h2>Arguments</h2>
22    <div class="section">
23      <table class="arguments">
24        <thead>
25          <tr>
26            <td width="15" />
27<th>Name</th>
28<td>Description</td>
29          </tr>
30        </thead>
31        <tr>
32<td>out</td>
33<th>pNum</th>
34<td>Returns the number of client IDs stored in <SPAN class="argument">pClients</SPAN>.</td>
35        </tr>
36        <tr>
37          <td />
38<th>clients[]</th>
39          <td>
40            </td>
41        </tr>
42        <tr>
43<td>in</td>
44<th>size</th>
45<td>Specifies the number of elements in <SPAN class="argument">pClients</SPAN>.</td>
46        </tr>
47        <tr>
48<td>out</td>
49<th>pClients</th>
50<td>Returns the client's node ID.</td>
51        </tr> </table>
52    </div>
53<h2>Return Values</h2>
54<div class="section">The following <a href="../../../../nn/Result/Overview.html">Result</a>s are returned as the result of the operation.<br /> <br />
55      <table class="arguments">
56        <thead>
57          <tr>
58<th>Value</th>
59<td>Description</td>
60          </tr>
61        </thead>
62        <tr>
63<th>ResultSuccess</th>
64<td>The number of clients was obtained successfully.</td>
65        </tr>
66        <tr>
67<th><CODE>ResultInvalidState</CODE></th>
68<td>The state is invalid. This function can be used after the OpenSessions function has succeeded (SERVER_STATE_OPENED_SESSIONS) as long as the state is not <CODE>SERVER_STATE_ERROR</CODE>.</td>
69        </tr>
70      </table> </div>
71<h2>Description</h2>
72    <div class="section">
73<p>Gets the number of connected clients.</p><!-- write here --></div>
74<h2>Revision History</h2>
75    <div class="section">
76      <dl class="history">
77        <dt>2010/08/16</dt>
78<dd>Initial version.<br />
79        </dd>
80      </dl>
81    </div>
82  <hr><p>CONFIDENTIAL</p></body>
83</html>
84