Topic Path: Symbol Reference > Classes > TIdStackBSDBase Class > TIdStackBSDBase Methods > WSSendTo Method
ContentsIndexHome
PreviousUpNext
TIdStackBSDBase.WSSendTo Method

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

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.

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