RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIpSocket.LocalHostAddr Method

Returns the local IP address for the host machine.

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

Use LocalHostAddr to return the local IP address in string format. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!