SendSocketString

Description

Will send a string to the remote connection. Note that data is not sent immediately, you must call FlushSocket to send it. If you are sending the string to a non-AGK app then the string is constructed of a 4 byte length value followed by X bytes of string data where X is the length value. The string is not null terminated. Returns 1 if the string was successfully written to the buffer, 0 if the socket disconnected.

Definition

integer SendSocketString( socketID, value )

Parameters