NETDLL manual.

Overview
NETDLL is suite of networking tools built into one ASP component. Included is a ping function, an IP to hostname lookup, a hostname to IP lookup and a function for retrieving the serving computer's IP.
Methods/Properties
Methods:
netdll.AddressStringToLong(tmp As String)
not used.
netdll.CBinary(Express As Boolean)
not used.
netdll.GetHostFromIP(IpAddr As String[,errmsg as String)
Returns the hostname of an ip address.
netdll.GetIPAddress(host as String[,errmsg as String)
Gets the ip address from a hostname.
netdll.GetIPHostName
Returns the hostname of the computer running the application.
netdll.GetStatusCode
not used
netdll.lngNextPort
not used
netdll.ParseInt (expression)
not used
netdll.Ping(address as String,roundtriptime as String,datamatch as Boolean[datasize=32,[timeout=200])
Pings the address specified, returns a string.
Properties:
No properties.
Example
The example demonstrates a simple usage of the NetDLL component.
<%
Dim netDLL

Set netDLL = Server.CreateObject("NETDLL.Network")
' Display the hostname of the provided IP (yahoo's IP)
Response.Write "<b>GetHostFromIP:</b> " & netDLL.GetHostFromIP("216.115.108.243")
%>
© sloppycode.net 2001