Internet Direct (Indy) Version 9.0.1 Beta
TIdIOHandlerSocket.Send
Performs an output operation using a socket handle.

function Send(var ABuf; ALen: integer): integer; override;
Parameters
var ABuf
Values to be written on the connection.

ALen: integer
Number of bytes to be written on the connection.

Returns
Integer - Acutal number of bytes written using the connection.

Description
Send is an overridden Integer function that performs an output operation using the socket handle in Binding. Send calls the TIdSocketHandle.Send method, using the input parameters ABuf and ALen, to perform the write operation.

ABuf is the buffer containing values to be written to the socket handle in Binding.

ALen indicates the number of bytes to be written in the output operation.

The return value for the method is the actual number of bytes written using the socket handle.