ááááááááááGetHostByIP
ááááááááááMethod
ááááááááááMemberáof áTCPIP.DNS

áDescriptioná
Retrieves the host information corresponding to a network address.
áSyntaxá
Host = DNS.GetHostByIP (IP as String)
á
Where Type Optional Default Description
áIPááStringáááááIP network address.á
áReturnsá
String
áExamplesá
Simple resolution for IEá
Host :
IPááááá:
ASP sampleá
Set DNS = CreateObject("TCPIP.DNS")

On Error Resume Next
host = DNS.GetHostByIP(Request.ServerVariables("REMOTE_ADDR"))
If Err <> 0 Then
  'some dns error - host not found, ...
End If
On Error Goto 0
áSee alsoá
DNS.GetIPByHost
áMethods of DNSá
GetHostByIP, GetIPByHost

⌐ 1996 û 1998 PSTRUH Software, help@pstruh.cz