Schlagwort-Archive: DataSnap

How to change the port of a DataSnap server at runtime

If you want to change the port number of a DataSnap server at runtime you have to set the AutoStart property from the TDSServer (DSServer in ServerContainerUnit1.pas) to false. Than you can set the Port property from TDSTCPServerTransport via code. Finally you have to start the server. Weiterlesen