host_address Property

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

Syntax

def get_host_address() -> str: ...
def set_host_address(value: str) -> None: ...

host_address = property(get_host_address, set_host_address)

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 host_name

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

The on_request_complete event is fired when the search is complete. The request_id 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

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