Internet Direct (Indy)
Home
PreviousUpNext
TIdRawBase.Send Method (string, Integer, string)

Transmits data to remote computer system.

Pascal
procedure Send(
    const AHost: string; 
    const APort: Integer; 
    const AData: string
); virtual; overload;
Parameters 
Description 
AHost 
Destination address for the send operation.
 
APort 
Destination port number for the send operation.
 
AData 
Buffer containing values to be sent over the connection. 

Send is an overloaded procedure that allows the socket connection to transmit the specified data or buffer to the host address and port number for the connection. 

Send uses the global protocol stack instance in GStack to resolve the host address in AHost prior to transmitting data on the socket connection to the endpoint identified in the AHost and APort arguments.

TIdRawBase.Send

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.