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_GetServerPacketLength</title> 7<link rel="stylesheet" href="../../css/nitro.css" type="text/css" /> 8</head> 9<body> 10 11<h1>WFS_GetServerPacketLength <img src="../../image/NTR.gif"><img src="../../image/TWL.gif"></h1> 12<h2>Syntax</h2> 13 14<dl> 15 <dd> 16<code>#include <nitro/wfs.h></code><br /> 17 <br /> 18 <code>int WFS_GetServerPacketLength(const WFSServerContext *context);</code><br /> 19 <br /> 20 </dd> 21</dl> 22<h2>Arguments</h2> 23<table border="1" width="100%"> 24 <tbody> 25 <tr> 26 <td style="width:13%"><em><strong>context</strong></em></td> 27 <td style="width:87%">Pointer to the <CODE>WFSServerContext</CODE> structure.</td> 28 </tr> 29 </tbody> 30</table> 31<h2>Return Values</h2> 32<p>The currently set maximum value of the packet size for MP sends.</p> 33 34<h2>Description</h2> 35<p>Gets the maximum packet size for MP sends that are generated by the parent (server) using <a href="WFS_CallServerPacketSendHook.html"><code>WFS_CallServerPacketSendHook</code></a>. When responding to a read request from a child (client), the larger this packet size is, the more efficient the transmission will be.</p> 36 37<h2>See Also</h2> 38<p><code><a href="WFS_InitServer.html">WFS_InitServer</a>, <a href="WFS_SetServerPacketLength.html">WFS_SetServerPacketLength</a> <br /></code></p> 39 40<h2>Revision History</h2> 41<p> 422007/06/11 Initial version. 43</p> 44<hr><p>CONFIDENTIAL</p></body> 45</html> 46 47 48 49