HostAddress Property

An Internet Address in dotted format. When set, it initiates a search for the corresponding host name.

Object Oriented Interface

public function getHostAddress();
public function setHostAddress($value);

Procedural Interface

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

Default Value

''

Remarks

This property contains the IP address (in internet dotted format aaa.bbb.ccc.ddd) of the host whose domain name is specified by HostName

If HostAddress is set to an IP address, a search is initiated for the corresponding host names(s).

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

Example (Resolve an Address)


IPInfoControl.HostAddress = "10.0.1.10"
While IPInfoControl.PendingRequests > 0
    IPInfoControl.DoEvents()
End While
ResolvedName = IPInfoControl.HostName

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 PHP Edition - Version 20.0 [Build 8307]