Internet Direct (Indy) Version 9.0.2 Beta
TIdUDPBase.Send
Sends data to a remote computer system.

procedure Send(AHost: string; const APort: Integer; const AData: string);
Parameters
AHost: string
Address of the remote computer.

const APort: Integer
Port number on the remote computer.

const AData: string
Value to send to the remote computer.

Description
Send is a procedure used to send the data specified in AData to the remote computer system specified in AHost and APort. Send will resolve the address in AHost to a host name prior to sending AData to the remote system.

Send calls Binding.SendTo to transmit AData to the remote system. UDP does not guarantee delivery of data packets, so the values in AData may not arrive at the remote computer system.