4D v16

PortNumber

Home

 
4D v16
CS
PortNumber

PortNumber  


 

 

/ Preferences4D / BuildApp / CS / PortNumber

Port number

This key contains the TCP port number of the desired server. By default, the port number is set to 19813 and it is generally not required to specify it. This key is required when the server’s port number has been modified.

When it is specified, the TCP port number is added to the IP address stored in a file named “EnginedServer.4Dlink,” which is located in the Database folder of the client application.

Warning: This key only modifies the port number on the Client side. On the Server side, the port number specified in the 4D database generating the application is stored. To use a custom port number, use the SET DATABASE PARAMETER command before calling the BUILD APPLICATION command. For example, to specify the port 21000:

 tempport:=Get database parameter(Client Server Port ID)
 SET DATABASE PARAMETER(Client Server Port ID;21000)
 BUILD APPLICATION("")
 SET DATABASE PARAMETER(Client Server Port ID;tempport)



Siehe auch 

IPAddress

 
EIGENSCHAFTEN 

Produkt: 4D
Thema: CS

 
GESCHICHTE 

 
ARTIKELVERWENDUNG

4D XML Keys BuildApplication ( 4D v16)