Datasnap.Win.ObjBrkr.TServerItem.Port
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.ObjBrkr.pas Datasnap.Win.ObjBrkr.hpp |
Datasnap.Win.ObjBrkr | TServerItem |
Description
Specifies the port number for the associated server application.
Read Port to obtain a port number when using the server item to supply information for connecting using TCP/IP. This value is returned by the GetPortForComputer method of the simple object broker.
By default, the value of Port is 211, which is the default port number for the socket dispatcher application ScktSrvr.exe. If the server listens on a different port, change this property to indicate the listening port.
Note: Server items that supply a Port number should specify the server system's IP address or host name as the value of ComputerName.