# GetNetworkClientDisconnected

## Description

Checks whether the specified client has disconnected. Disconnected clients are not automatically removed from the client list, allowing you to handle their clean up properly. Once you have dealt with this client you must remove it from the client list by calling DeleteNetworkClient. The client may persist for a little while until the background network code gets around to actually deleting it so be prepared for this client to hang around for a few frames declaring that it is disconnected and make sure you only clean it up once. You can detect this by setting one of the SetNetworkClientUserData values to notify yourself that it has been dealt with.

## Definition

integer GetNetworkClientDisconnected( iNetID, client )

UINT agk::GetNetworkClientDisconnected( UINT iNetID, UINT client )

## Parameters

- iNetID - The ID of the network to check.
- client - the ID of the client to check.