Topic Path: Symbol Reference > Classes > TIdStack Class > TIdStack Methods > HostByAddress Method
TIdStack.HostByAddress Method

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

function HostByAddress(
    const AAddress: string; 
    const AIPVersion: TIdIPVersion = ID_DEFAULT_IP_VERSION
): string; virtual; abstract;
IP address.
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.

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