RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomWinSocket.RemoteAddress Property

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

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

RemoteAddress 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 on the other end of the socket connection and indicates the types of interfaces supported by the remote socket. A single system can support multiple addresses. RemoteAddress is the address from among the possible addresses supported by the remote system that is bound to the socket connection. 

A single RemoteAddress may be participating in multiple socket connections. Each of those connections has a unique RemotePort number to distinguish it from other connections to the same RemoteAddress. The RemoteAddr property uniquely identifies the RemoteAddress and RemotePort combination used by the socket connection. 

 

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