Topic Path: Symbol Reference > Classes > TIdRawBase Class > TIdRawBase Methods > Send Method > Send Method (string, Integer, string)
ContentsIndexHome
PreviousUpNext
TIdRawBase.Send Method (string, Integer, string)

Transmits data to remote computer system.

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

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