Topic Path: Symbol Reference > Classes > TIdStack Class > TIdStack Properties > LocalAddress Property
ContentsIndexHome
PreviousUpNext
TIdStack.LocalAddress Property

IP address for the local connection.

property LocalAddress: string;

LocalAddress is a read-only string property that identifies the IP address assigned for the local protocol stack instance. For computers having multiple network interface cards, LocalAddress represents the most recent IP address assigned for the stack instance. 

Use LocalAddresses to access all IP addresses assigned for a computer having multiple network interface cards. 

LocalAddress and LocalAddresses are common properties available in the protocol stack instance regardless of the platform or socket implementation. Values in LocalAddress and LocalAddresses are maintained in descendant classes that provide access to the socket implementation for the platform.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.