Internet Direct (Indy)
Home
PreviousUpNext
TIdStackBSDBase.WSSendTo Method

Sends data to a specified IP address and port number using a socket handle.

Pascal
procedure WSSendTo(
    ASocket: TIdStackSocketHandle; 
    const ABuffer; 
    const ABufferLength: Integer; 
    const AFlags: Integer; 
    const AIP: string; 
    const APort: integer; 
    AIPVersion: TIdIPVersion = ID_DEFAULT_IP_VERSION
); virtual; abstract;
Parameters 
Description 
ASocket 
 
ABuffer 
 
ABufferLength 
 
AFlags 
 
AIP 
 
APort 
 
AIPVersion 
 

WSSendTo is an abstract virtual method used to send the data in ABuffer to a given IP address and port number using the socket handle in ASocket. 

WSSendTo must be implemented in a descendant class that provides access to the socket implementation for the platform of Operating System hosting the Indy library. 

Use the SendTo method to ensure compatible method calls for all protocol stack implementations.

Missing parameter docs.

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.