Topic Path: Symbol Reference > Classes > TIdUDPBase Class > TIdUDPBase Methods > Send Method
TIdUDPBase.Send Method

Transmits a datagram to a specified host and port number.

procedure Send(
    AHost: string; 
    const APort: Integer; 
    const AData: string
Destination address for the datagram.
Destination port number for the datagram.
Data to send in the datagram. 

Send is a procedure used to transmit a datagram to a specified endpoint. 

AHost is the IP address or host name for the endpoint of the datagram transmission. 

APort is the port number for the endpoint of the datagram transmission. 

AData contains the content of the datagram to send in the transmission. 

Send calls SendBuffer to perform the actual transmission of the datagram. 

The UDP protocol does not guarantee delivery of data packets, so the values in AData may not arrive at the remote computer system.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.