SOCKETS TCP/IP Stack 143
E-EQ-MX3RG-J-ARC MX3 Reference Guide
SOCKET.CFG Parameters
domain
If a host name is not a decimal (dotted) address and it is not found in the HOSTS file and at least
one Domain Name Server has been defined, an attempt is made to obtain the address from the
defined DNS server(s). The number of times any server is polled (retries), in addition to the time
to wait for a response, can also be specified. A suffix may be specified and is attached to all
names not containing any dots.
All of the following sub-commands can be issued without the optional parameters to obtain
information on the current status.
Syntax
domain server [host_name]
domain retry [retry_count]
domain time [wait_time]
domain suffix [domain]
domain server adds a DNS address or lists the current servers if host_name not specified.
domain retry specifies the retry count for polling each server. domain retry lists the retry count if
retry_count not specified.
domain time specifies or lists the time (milliseconds) to wait for a response before attempting
retry.
domain time lists the time (milliseconds) to wait if wait_time not specified.
domain suffix specifies the domain suffix to add to all simple names; names that contains no dots.
domain suffix lists the domain suffix if domain is not specified.
Example
domain retry 3
domain server 196.2.1.1
domain suffix myorg.co.za
domain time 2000
iface
iface is a synonym for the interface command.
interface
interface informs Sockets of the hardware or software communications interface(s) to be used at
the network interface level. At least one network interface is required, and two or more are used in
gateway (router) applications.
The class or mode of each interface defines the encapsulation used for packaging the data frame
into the transport frame. Some types of interface support only one class.
When using more than one interface, Sockets assigns the previous given IP address in the .CFG
file to this interface and uses its net mask to add a route to that net through this interface. Using
the same IP address would result in multiple routes to the same network. The default route is set
on the first interface with an IP address with a zero net mask (for example, IP address
19.63.10.11/0).