gethostbyaddr This function retrieves the host data corresponding to a network address.
VB4-32,5,6
Declare Function gethostbyaddr Lib "wsock32.dll" (haddr As Long, ByVal hnlen As Long, ByVal addrtype As Long) As Long |
VB.NET
System.Net.Dns.GetHostByAddress |
Operating Systems Supported |
Requires Windows Sockets 1.1 or later |
- addr
[in] Pointer to an address in network byte order.
- len
[in] Address length.
- type
[in] Address type. |
A pointer to the HOSTENT structure indicates no error occurred. A NULL pointer indicates failure. To get a specific error value, call the WSAGetLastError function. |
|