tcp.equalNames

Syntax tcp.equalNames (name1, name2)

Params name1 is an IP address or domain name to compare to name2.

name2 is an IP address or domain name to compare to name1.

Action Determine if two names point to the same node on the net.

Returns True if they're the same, false otherwise.

Examples tcp.equalNames ("www.userland.com", "userland.com")

   » true

tcp.equalNames ("www.userland.com", "64.14.1.89")

   » true

tcp.equalNames ("209.181.141.35", "www.userland.com")

   » false

tcp.equalNames ("yahoo.com", "www.userland.com")

   » false

Notes This verb is implemented as a script.

See Also tcp.dns.getDottedId

tcp.dns.getDomainName

Discuss