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_SetServerPacketLength</title> 7<link rel="stylesheet" href="../../css/nitro.css" type="text/css" /> 8</head> 9<body> 10 11<h1>WFS_SetServerPacketLength <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>void WFS_SetServerPacketLength(WFSServerContext *context, int length);</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 <tr> 30 <td style="width:13%"><em><strong>length</strong></em></td> 31 <td style="width:87%">Represents the maximum MP send packet size that can be used with the WFS library</td> 32 </tr> 33 </tbody> 34</table> 35<h2>Return Values</h2> 36<p>None.</p> 37 38<h2>Description</h2> 39<p>Sets 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. Use this function when you want to dynamically change the packet size that was specified with <a href="WFS_InitServer.html"><code>WFS_InitServer</code></a>.</p> 40 41<h2>See Also</h2> 42<p><code><a href="WFS_GetServerConnectedBitmap.html">WFS_GetServerConnectedBitmap</a>, <a href="WFS_GetServerBusyBitmap.html">WFS_GetServerBusyBitmap</a> <br /></code></p> 43 44<h2>Revision History</h2> 45<p> 462007/06/06 Initial version. 47</p> 48<hr><p>CONFIDENTIAL</p></body> 49</html> 50 51 52 53