IP*Works! 2016 PHP Edition
IP*Works! 2016 PHP Edition
Questions / Feedback?

HostName Property

The Domain Name of an Internet host. When set, it initiates a search for the corresponding address(es).

Object Oriented Interface

public function getHostName();
public function setHostName($value);

Procedural Interface

ipworks_ipinfo_get($res, 30 );
ipworks_ipinfo_set($res, 30, $value );

Default Value

''

Remarks

This property contains the domain name of the host whose IP address is specified by HostAddress.

If this property is set to a domain name, a search is initiated for the corresponding host address(s).

The RequestComplete event is fired when the search is complete. The RequestId property identifies the pending request.

Example (Resolve a Name)


IPInfoControl.HostName = "MyHostName"
While IPInfoControl.PendingRequests > 0
    IPInfoControl.DoEvents()
End While
ResolvedAddress = IPInfoControl.HostAddress

Data Type

String

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
IP*Works! 2016 PHP Edition - Version 16.0 [Build 7353]