Internet Direct (Indy)
Home
PreviousUpNext
TIdStack.LocalAddress Property

IP address for the local connection.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.