System.Win.ScktComp.TCustomWinSocket.RemoteAddress

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property RemoteAddress: string read GetRemoteAddress;

C++

__property System::UnicodeString RemoteAddress = {read=GetRemoteAddress};

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 remote system that was bound to the socket connection.

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.

See Also