# GetSocketFloat

## Description

Will read a 4 byte float from the socket connection and return it. If there is less than 4 bytes of data waiting to be read then this command will return immediately and return 0. You can check how much data there is to read by using GetSocketBytesAvailable.

## Definition

float GetSocketFloat( socketID )

float agk::GetSocketFloat( UINT socketID )

## Parameters

- socketID - The ID of the socket to read