System.Net.Socket.TSocket.RemoteEndpoint
Delphi
property RemoteEndpoint: TNetEndpoint read GetRemoteEndpoint;
C++
__property TNetEndpoint RemoteEndpoint = {read=GetRemoteEndpoint};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.Net.Socket.pas System.Net.Socket.hpp |
System.Net.Socket | TSocket |
Description
Remote endpoint address.
If your socket is closed, RemoteEndpoint is 0.
Exceptions
Reading the value of RemoteEndpoint can raise any of the following exceptions:
Exception | Exception.Message | Scenarios |
---|---|---|
Network socket error: <error message> (<error code>), on API 'getpeername' |
|