Internet Direct (Indy)
|
Sends a datagram to a remote host.
procedure SendBuffer( AHost: string; const APort: Integer; const AIPVersion: TIdIPVersion; const ABuffer: TIdBytes ); override; overload;
SendBuffer is an overloaded method used to transmit a datagram to a specified endpoint.
SendBuffer uses the values in the Host and Port properties as the endpoint of the datagram transmission.
If a custom tranmparent proxy has been assigned for the UDP client, the association between the client Binding and the proxy connection is created. If a TransparentProxy for the client has been assigned, but not initilaized by calling OpenProxy, an exception will be raised.
SendBuffer calls the inherited SendBuffer method to perform transmission of the datagram.
The UDP protocol does not guarantee delivery of data packets, so the values in ABuffer may not arrive at the remote computer system.
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. |