# GetNetworkClientPing

## Description

Returns the ping between the given client and the host. To get the total transit time of data from one client to another you must add the two ping times for both clients together as all data goes via the host. If you use the host's client ID it will return 0 as the host has no ping to itself. The value returned is in seconds as a floating point value.

## Definition

float GetNetworkClientPing( iNetID, client )

float agk::GetNetworkClientPing( UINT iNetID, UINT client )

## Parameters

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