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_CallServerDisconnectHook</title> 7<link rel="stylesheet" href="../../css/nitro.css" type="text/css" /> 8</head> 9 10<body> 11 12<h1>WFS_CallServerDisconnectHook <img src="../../image/NTR.gif"><img src="../../image/TWL.gif"></h1> 13<h2>Syntax</h2> 14 15<dl> 16 <dd> 17<code>#include <nitro/wfs.h></code><br /> 18 <br /> 19 <code>void WFS_CallServerDisconnectHook(WFSServerContext *context, const <a href="../WFSPeerInfo.html">WFSPeerInfo</a> *peer);</code><br /> 20 <br /> 21 </dd> 22</dl> 23<h2>Arguments</h2> 24<table border="1" width="100%"> 25 <tbody> 26 <tr> 27 <td style="width:13%"><em><strong>context</strong></em></td> 28 <td style="width:87%">Pointer to the <CODE>WFSServerContext</CODE> structure.</td> 29 </tr> 30 <tr> 31 <td style="width:13%"><em><strong>peer</strong></em></td> 32 <td style="width:87%">Pointer to the <a href="../WFSPeerInfo.html"><code>WFSPeerInfo</code></a> structure where information about the disconnected child (client) is located.</td> 33 </tr> 34 </tbody> 35</table> 36 37<h2>Return Values</h2> 38<p>None.</p> 39 40<h2>Description</h2> 41<p>Notifies the library that a child (client) has disconnected. The application must call this function each time a child (client) disconnects via wireless communications. 42</p> 43 44<h2>See Also</h2> 45<p> 46<a href="WFS_InitServer.html">WFS_InitServer</a>, <a href="WFS_CallServerConnectHook.html">WFS_CallServerConnectHook</a>, <a href="WFS_CallServerPacketSendHook.html">WFS_CallServerPacketSendHook</a>, <a href="WFS_CallServerPacketRecvHook.html">WFS_CallServerPacketRecvHook</a> 47</p> 48 49<h2>Revision History</h2> 50<p> 512007/06/06 Initial version. 52</p> 53<hr><p>CONFIDENTIAL</p></body> 54</html> 55