WFS_CallClientPacketRecvHook

Syntax

#include <nitro/wfs.h>

void WFS_CallClientPacketRecvHook(WFSClientContext *context, const WFSPacketBuffer *packet);

Arguments

context Pointer to the WFSClientContext structure.
packet Pointer to the WFSPacketBuffer structure where the received packet data is stored.
The following data must be provided for each member.
buffer Specifies the buffer for received packet data.
length Specifies the amount of data received.
bitmap Specifies an AID bitmap indicating which clients sent packets.
It is acceptable to always use 0x0001 (from parent/server), since this is data received from the parent (server) by a child (client).

Return Values

None.

Description

Converts the packet data received from a parent (server) 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.
Applications must call this function and perform MP communications repeatedly at an appropriate frequency.

See Also

WFS_CallClientConnectHook, WFS_CallClientDisconnectHook, WFS_CallClientPacketSendHook

Revision History

2007/06/06 Initial version.


CONFIDENTIAL