Internet Direct (Indy) Version 9.0.2 Beta
TIdRawBase.Send
Transmits data to remote computer system.

procedure Send(AData: string); overload;
procedure Send(AHost: string; const APort: Integer; AData: string); overload;
procedure Send(AHost: string; const APort: integer; var ABuffer; const ABufferSize: integer); overload;
Parameters
AHost: string
Destination address for the send operation.

const APort: integer
Destination port number for the send operation.

var ABuffer
Buffer containing values to be sent over the connection.

const ABufferSize: integer
Size of the buffer to be sent.

Description
Send is an overloaded procedure that allows the connection to transmit the specified data or buffer to the address identified in AHost and APort.

When the Send(AData) variant is called, the values from Host and Port are used for the destination.

Send resolves the address in AHost prior to transmitting data.