RAD Studio VCL Reference
|
Looks up the host address based on the host name.
function LookupHostAddr(const hn: string): TSocketHost;
__fastcall TSocketHost LookupHostAddr(const AnsiString hn);
Use LookupHostAddr to look up the host address based on the machine's host name. For example:
StrToInt(TcpClient1.LookupHostAddr("borland.com"));
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|