1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
5<meta http-equiv="Content-Style-Type" content="text/css" />
6<title>WFS_CallServerConnectHook</title>
7<link rel="stylesheet" href="../../css/nitro.css" type="text/css" />
8</head>
9
10<body>
11
12<h1>WFS_CallServerConnectHook&nbsp;<img src="../../image/NTR.gif"><img src="../../image/TWL.gif"></h1>
13<h2>Syntax</h2>
14
15<dl>
16  <dd>
17<code>#include &lt;nitro/wfs.h&gt;</code><br />
18  <br />
19  <code>void WFS_CallServerConnectHook(WFSServerContext *context, const <a href="../WFSPeerInfo.html">WFSPeerInfo</a> *peer);</code><br />
20  <br />
21  </dd>
22</dl>
23
24<h2>Arguments</h2>
25<table border="1" width="100%">
26  <tbody>
27    <tr>
28      <td style="width:13%"><em><strong>context</strong></em></td>
29      <td style="width:87%">Pointer to the <CODE>WFSServerContext</CODE> structure.</td>
30    </tr>
31    <tr>
32      <td style="width:13%"><em><strong>peer</strong></em></td>
33      <td style="width:87%">Pointer to the <a href="../WFSPeerInfo.html"><code>WFSPeerInfo</code></a> structure where information about the connected children (clients) is located.</td>
34    </tr>
35  </tbody>
36</table>
37
38<h2>Return Values</h2>
39<p>None.</p>
40
41<h2>Description</h2>
42<p>Notifies the library that a new child (client) has connected. The application must call this function each time a child (client) connects via wireless communications.
43</p>
44
45<h2>See Also</h2>
46<p>
47<a href="WFS_InitServer.html">WFS_InitServer</a>, <a href="WFS_CallServerDisconnectHook.html">WFS_CallServerDisconnectHook</a>, <a href="WFS_CallServerPacketSendHook.html">WFS_CallServerPacketSendHook</a>, <a href="WFS_CallServerPacketRecvHook.html">WFS_CallServerPacketRecvHook</a>
48</p>
49
50<h2>Revision History</h2>
51<p>
522007/06/06 Initial version.
53</p>
54<hr><p>CONFIDENTIAL</p></body>
55</html>
56