# WFS_CallClientDisconnectHook

## Syntax

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

## Arguments

context | Pointer to the `WFSClientContext` structure.
peer | Pointer to the `WFSPeerInfo` structure where information about the disconnected parent (server) is located.

## Return Values

None.

## Description

Notifies the library that the connection to the parent (server) has ended. The application must call this function when disconnecting from a parent (server) via wireless communications.

## See Also

WFS_CallClientConnectHook, WFS_CallClientPacketSendHook, WFS_CallClientPacketRecvHook

## Revision History

2007/06/06 Initial version.

CONFIDENTIAL