RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSocketConnection.Port Property

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

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

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.
 

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