KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Automatic client connection with a built Client/Server application
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: May 19, 2006
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

After the compilation and generation of the 4D Client Engine (executable), the file, you will have to create the file "EnginedServer.xml" and place it in the "4D Extensions" folder. This file allows you to automatically connect to the server, without having to enter the IP address or the port number.

The EnginedServer.xml file has the format described below:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>

    <Connection>

       <IPAdress>192.68.91.10,19815</IPAdress>

    </Connection>

Note: if the server is on the same subnet as the client, the client will automatically connect to the server and create its own EnginedServer.xml file. If the server is not on the same subnet and there is no EnginedServer.xml file, then the standard connection dialog is displayed.