Request server information
Before you connect to the server running the EK80 program, your client application must obtain information about the server’s IP address and command port number.
Note
In this context the EK80 Processor Unit is regarded as the "server". The EK80 program is the "server application". The program you make yourself for running on a local computer is referred to as the "client application".
RequestServerInfo
Send the following RequestServerInfo message to the specific IP address of the Processor Unit, or broadcast the message to receive information from all the computers on the local area network. The message must be sent to the user datagram protocol (UDP) port number defined as Local port on the As Server page in the Installation dialog box.
struct RequestServerInfo
  {
  char Header[4]; // ”RSI\0”
  };
ServerInfo2
The EK80 Processor Unit will respond to the requesting client application with a message containing information about the EK80 program. The content of the ServerInfo2 message is shown below.
struct ServerInfo2
  {
  char Header[4];                // ”SI2\0”
  char ApplicationType[64];
  char ApplicationName[64];      // Name of the current server application (EK80)
  char ApplicationDescription[128]; // Description of the current application
  long ApplicationID;            // ID of the current application
  long CommandPort;              // Port number to send commands to
  long Mode;             // If the server application (EK80) 
       // is running  against the local data source or a remote data source
  char HostName[64];                  // IP address of the Processor Unit the server
       // application is running on
  };
CommandPort
The EK80 Processor Unit UDP port number CommandPort must be used from now on to send commands to the EK80 program.