# WFS_SetServerPacketLength

## Syntax

  `#include <nitro/wfs.h>`
  `void WFS_SetServerPacketLength(WFSServerContext *context, int length);`

## Arguments

context | Pointer to the `WFSServerContext` structure.
length | Represents the maximum MP send packet size that can be used with the WFS library

## Return Values

None.

## Description

Sets the maximum packet size for MP sends that are generated by the parent (server) using `WFS_CallServerPacketSendHook`. 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 `WFS_InitServer`.

## See Also

`WFS_GetServerConnectedBitmap, WFS_GetServerBusyBitmap
`

## Revision History

2007/06/06 Initial version.

CONFIDENTIAL