property Port: Integer read FPort write SetPort;
ID number that identifies the connection where the server socket listens for client requests.
Server sockets generally set Port to a predefined value which clients can use to initiate connections.
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.