User guide

3: Customize the System Configuration
DC 900-1333P 109
Socket Type The socket_type parameter must be
sock_dgram, sock_stream_listen, or
sock_stream_connect. (The sock_stream parameter string can be used in place of
sock_stream_connect.) The sock_dgram parameter specifies a UDP/IP packet data
stream. The
sock_stream_listen parameter specifies a TCP/IP server (listening)
socket and the
sock_stream_connect parameter specifies a TCP/IP client (connect-
ing) socket.
Local Address The
local_address parameter specifies the IP address at which Freeway
receives packets. This field may be left blank or set to 0.0.0.0, in which case any
configured IP address of Freeway will be used. For devices that will receive multi-
cast packets, this field must be set to the multicast IP address. (Receiving multicast
packets requires a special version of Freeway.)
Local Port Base The
local_port_base parameter specifies the port number on which
Freeway will receive packets when link 0 is selected. This number must be spec-
ified in hex format. The link number is added to
local_port_base whenever a link
is opened, so that a
dlOpen on link 7 will open a socket using port local_port_base
+ 7. If the local_address is set to 0.0.0.0 and the local_port_base is set to 0, Freeway
will use any available port, with any configured IP address.
Local Interface Address The
local_if_address parameter specifies the IP address of the
interface on which Freeway will receive packets. This field is only required for
devices which will receive multicast packets on another interface than the default
boot IP address. (Receiving multicast packets requires a special version of
Freeway.)
Foreign Address The
foreign_address parameter specifies the IP address to which
Freeway will send packets.
Foreign Port Base The
foreign_port_base parameter specifies the IP port number to
which Freeway will send packets when link 0 is selected. This number must be
specified in hex format.
Decreased size
everywhere on
this page.