Internet Direct (Indy) Version 9.0.1 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
AData: string
Destination address for the send operation.

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.