Data interfaces
143
850-164692 / Rev.B
Requesting server information
Before you connect to the server running the echo sounder
program, your client application must obtain information about
the server’s IP address and command port number.
RequestServerInfo
Send the following
RequestServerInfo
message to the specific
IP address of the server, or broadcast the message to receive
server information from all servers on the LAN. The message
should be send to the UDP port number found in the
Local
port
field on the
Server
page in the
Remoting
dialogue box in the
server application.
struct RequestServerInfo
{
char Header[4]; // ”RSI\0”
};
ServerInfo2
The server applications will respond to the requesting
application with a message containing information about the
server application. 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 application
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 application is
// running against the local data source or
// a remote data source
char HostName[64];
// IP address of the computer the
application is running on
};
CommandPort
The server UDP port number
CommandPort
must be used
from now on to send commands to the server application.
Summary of Contents for ER60
Page 2: ......
Page 3: ...850 164692 ER60 Scientific echo sounder Operator manual...
Page 181: ......