RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TServerItem.Port Property

Specifies the port number for the associated server application.

Pascal
property Port: Integer;
C++
__property int Port;

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.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!