Datasnap.Win.SConnect.TSocketConnection.Port

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Port: Integer read FPort write FPort default 211;

C++

__property int Port = {read=FPort, write=FPort, default=211};

Properties

Type Visibility Source Unit Parent
property published
Datasnap.Win.SConnect.pas
Datasnap.Win.SConnect.hpp
Datasnap.Win.SConnect TSocketConnection

Description

Specifies the port number of the socket dispatcher application on the server system.

Use Port to specify the port that the socket dispatcher uses to listen for client connection requests. By default, Port is 211, which is the default port number of ScktSrvr.exe (the socket dispatcher application). Change the value of Port if the socket dispatcher is configured to use a different port.

Note: If the socket connection component uses an Object Broker, you do not need to specify the Port property. Instead, the Object Broker supplies a port number for a server that is located dynamically at runtime. Explicitly setting the Port property overrides the value supplied by the Object Broker, but such overridden values are not saved with the socket connection component.

See Also