Internet Direct (Indy)
Home
PreviousUpNext
TIdStackLinux.HostByAddress Method

Determines a host name for a given IP address and version number.

Pascal
function HostByAddress(
    const AAddress: string; 
    const AIPVersion: TIdIPVersion = ID_DEFAULT_IP_VERSION
): string; override;
Parameters 
Description 
AAddress 
IP address.
 
AIPVersion 
IP version. Default value is ID_DEFAULT_IP_VERSION. 

string - Host name for the specifies IP address.

HostByAddress is an abstract virtual string function that specifies the interface used to resolve an IP address to a host name. HostByAddress must be implemented in a descendant class that provides access to the socket implementation for the target platform.

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.