WFS_InitServer 

Syntax

#include <nitro/wfs.h>

void WFS_InitServer(WFSServerContext *context, void *userdata, WFSEventCallback callback, MIAllocator *allocator, int packet);

Arguments

context Pointer to the WFSServerContext structure to be initialized
userdata Any user-defined value to be linked with the context
callback Callback function that receives event notifications from the WFS library.
Specify NULL if not needed.
allocator The allocator used internally by the library
packet Packet size for MP sends that can be used by the parent (server) for WFS.
This setting can also be changed with the WFS_SetServerPacketLength function.

Return Values

None.

Description

Initializes the WFS library server context structure. This function must be called at least once before using the WFSServerContext structure. This function has absolutely no impact on the status of the OS or wireless communications because it only initializes the contents of the WFSServerContext structure.

See Also

WFSEventCallback,
WFS_EndServer, WFS_RegisterServerTable, WFS_CallServerConnectHook, WFS_CallServerDisconnectHook, WFS_CallServerPacketSendHook, WFS_CallServerPacketRecvHook

Revision History

2007/06/06 Initial version.


CONFIDENTIAL