RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomWinSocket.LocalAddress Property

Specifies the IP address of the local system that was bound to the socket connection.

Pascal
property LocalAddress: string;
C++
__property AnsiString LocalAddress;

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. 

 

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