System.Win.ScktComp.TClientSocket.Port

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Port;

C++

__property Port;

Properties

Type Visibility Source Unit Parent
property published
System.Win.ScktComp.pas
System.Win.ScktComp.hpp
System.Win.ScktComp TClientSocket

Description

ID number that identifies the server socket connection.

The value of Port is usually associated with the service the client wishes to use on the server application.

Port numbers allow a single system, identified by the Host or Address property, to host multiple connections simultaneously. Many values of Port are associated by convention with a particular service such as ftp or http.

Note: Trying to change Port when the connection is open raises an ESocketError exception.

See Also