RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIpSocket.LocalHostName Method

Returns the local host name.

Pascal
function LocalHostName: TSocketHost;
C++
__fastcall TSocketHost LocalHostName();

Use LocalHostName to return the host name for the local host. For example:

 ShowMessage(TcpClient1.LocalHostName);

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!