System.Win.ScktComp.TCustomWinSocket.LocalAddress
Delphi
property LocalAddress: string read GetLocalAddress;
C++
__property System::UnicodeString LocalAddress = {read=GetLocalAddress};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.Win.ScktComp.pas System.Win.ScktComp.hpp |
System.Win.ScktComp | TCustomWinSocket |
Description
Specifies the IP address of the local system that was bound to the socket connection.
LocalAddress is a string of four numeric (byte) values in the standard Internet dot notation, such as
123.197.1.2
Each address identifies the system and indicates the types of interfaces supported by the socket. A single system (machine) can support multiple addresses. LocalAddress is the address from among the possible addresses supported by the local system that is bound to the socket connection.
A single LocalAddress can be used simultaneously by multiple socket connections. Each of those connections must have a unique LocalPort number to distinguish it from other connections to the same LocalAddress.