# SendSocketInteger

## Description

Will send a 4 byte integer 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 SendSocketInteger( socketID, value )

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

## Parameters

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