# WFS_CallServerConnectHook

## Syntax

  `#include <nitro/wfs.h>`
  `void WFS_CallServerConnectHook(WFSServerContext *context, const WFSPeerInfo *peer);`

## Arguments

context | Pointer to the `WFSServerContext` structure.
peer | Pointer to the `WFSPeerInfo` structure where information about the connected children (clients) is located.

## Return Values

None.

## Description

Notifies the library that a new child (client) has connected. The application must call this function each time a child (client) connects via wireless communications.

## See Also

WFS_InitServer, WFS_CallServerDisconnectHook, WFS_CallServerPacketSendHook, WFS_CallServerPacketRecvHook

## Revision History

2007/06/06 Initial version.

CONFIDENTIAL