System.Net.Socket.TSocket.LookupName
Delphi
function LookupName(const name: string): TIPAddress;
C++
TIPAddress __fastcall LookupName(const System::UnicodeString name);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Net.Socket.pas System.Net.Socket.hpp |
System.Net.Socket | TSocket |
Description
Performs a DNS lookup of the specified domain name and returns a matching IP address. If the DNS does not return a match, the fields of the returned IP address are empty.