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_CallServerPacketRecvHook</title>
7<link rel="stylesheet" href="../../css/nitro.css" type="text/css" />
8</head>
9
10<body>
11
12<h1>WFS_CallServerPacketRecvHook <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_CallServerPacketRecvHook(WFSServerContext *context, const <a href="../WFSPacketBuffer.html">WFSPacketBuffer</a> *packet);</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>packet</strong></em></td>
33      <td style="width:87%">Pointer to the <a href="../WFSPacketBuffer.html"><code>WFSPacketBuffer</code></a> structure where the received packet data is stored.<br />
34	  The following data must be provided for each member.<br />
35      <table border="1" width="100%">
36        <tbody>
37          <tr>
38            <td style="width:13%"><em><strong>buffer</strong></em></td>
39            <td style="width:87%">Specifies the buffer for received packet data.</td>
40          </tr>
41          <tr>
42            <td style="width:13%"><em><strong>length</strong></em></td>
43            <td style="width:87%">Specifies the amount of data received.</td>
44          </tr>
45          <tr>
46            <td style="width:13%"><em><strong>bitmap</strong></em></td>
47            <td style="width:87%">Specifies an AID bitmap indicating which clients sent packets.<BR>
48			This may always be set to (1 &lt;&lt; aid) if no special management is required by the application.</td>
49          </tr>
50        </tbody>
51      </table>
52      </td>
53    </tr>
54  </tbody>
55</table>
56
57<h2>Return Values</h2>
58<p>None.</p>
59
60<h2>Description</h2>
61<p>Converts the packet data received from a child (client) during a single session of MP communication into the internal protocol used by the WFS library. WFS status is updated between parents and children by using this function to analyze the packet data received by MP communications.<BR>Applications must call this function and perform MP communications repeatedly at an appropriate frequency.<BR>
62</p>
63
64<h2>See Also</h2>
65<p>
66<a href="WFS_InitServer.html">WFS_InitServer</a>, <a href="WFS_CallServerConnectHook.html">WFS_CallServerConnectHook</a>, <a href="WFS_CallServerDisconnectHook.html">WFS_CallServerDisconnectHook</a>, <a href="WFS_CallServerPacketSendHook.html">WFS_CallServerPacketSendHook</a>
67</p>
68
69<h2>Revision History</h2>
70<p>
712007/06/06 Initial version.
72</p>
73<hr><p>CONFIDENTIAL</p></body>
74</html>
75