# SendSocketByte

## Description

Will send a single byte in the range -128 to 127 to the remote connection. Note that data is not sent immediately, you must call FlushSocket to send it. Returns 1 if the byte was successfully written to the buffer, 0 if the socket disconnected.

## Definition

integer SendSocketByte( socketID, value )

int agk::SendSocketByte( UINT socketID, int value )

## Parameters

- socketID - The ID of the socket to write
- value - The value to send