10
2.3
SCRIPTING SOCKET INTERFACE
The EM405-8 supplies a TCP/IP socket interface that allows the user to interact with the
scripting utilities of the carrier. This is the primary interface used for developing scripts. This
interface accepts commands that allow the user to run scripts and view the script output. If a
script is started from the scripting socket interface, the scripting socket interface acts as the
stdout of the script. The commands accepted over the scripting socket interface are detailed in
section 2.1. In addition, the interface implements an interactive mode that allows the user to
input script commands line by line.
2.3.1
Configuring the Scripting Socket Interface
The scripting socket interface provided by the EM405-8 is disabled by default. It can be enabled
via the webpage of the EM405-8 under “Network Configuration.” Figure 4 shows the Network
Configuration webpage.
Figure 4 Network Configuration Webpage
The “Scripting Socket” enable/disable selection determines whether the socket interface is
available and the “Scripting Socket Port” specifies the TCP/IP port number at which the user will
connect to the interface. The default port number is
10011
. If this port is used by a different
application in the system then this setting can be modified.