RAD Studio VCL Reference
|
Specifies the ID number of the port used by the RemoteHost to form the socket connection.
property RemotePort: Integer;
__property int RemotePort;
Use RemotePort to determine the port number used by the socket on the other end of the socket connection.
Port numbers allow a single system, identified by the RemoteAddress or RemoteHost property, to host multiple connections simultaneously. Each combination of RemotePort and RemoteAddress can only be bound to a single socket connection. This combination is represented by the RemoteAddr property.
Many port numbers are associated by convention with a particular service such as ftp or http. To determine whether the value of RemotePort is associated with a specific service, use the LookupService method.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|