RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMidasConnection.ServerPort Property

Specifies the port used by the listening socket on the server machine.

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

When establishing connections to the application server using TCP/IP sockets, the application server must have a socket dispatcher listening on a predefined port for requests from client applications. If the value of ConnectType is ctSockets, set ServerPort to the port number used by Scktsrvr.exe or ScktSrvc.exe on the server system. TMidasConnection attempts to connect to the application server by sending a message to the system specified by the ComputerName property at the port specified by ServerPort.

Note: ServerPort has no effect if ConnectType is not ctSockets.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!