xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

INetGetAlias()

Retrieves alias names from a server.

Syntax

INetGetAlias( <cURL> ) --> aAliasNames

Arguments

<cURL>
This is a character string holding the URL (DNS name) of the server to query.

Return

The function returns an array holding the server's alias names as character strings. If the server does not report aliases, an empty array is returned.

Description

INetGetAlias() is used to obtain alias names under which a server is currently known. Alias names are CNAME DNS records (Canonical Name records). A server can have an unlimited number of aliases. Whether or not they can be queried, however, depends on the verbosity of the server. If a server does not report aliases, the function returns an empty array.

Info

See also:INetAddress(), INetGetHosts()
Category: Internet functions , Sockets functions , xHarbour extensions
Source:vm\INet.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe