A.6. Client Applications Connecting to the Message Switch

    # It is also possible to setup the ICP configuration in the bootcfg        #
    # file to allow client applications to send and receive data packets       #
    # to and from the Message Switch.  This allows client applications to      #
    # take advantage of all the functionality provided by the Message Switch   #
    # (one-to-many, many-to-one, etc.)  To configure this in the bootcfg file, #
    # an IP protocol module must be used with two "ICP_IP" devices.            #
    # The ICP_IP devices should be set up with lines similar to this, in       #
    # the boot configuration file (this assumes that the client application    #
    # will use 'Protocol = "FMP"' in its DLI configuration file):              #
    #                                                                          #
    #    device_name          =  icp2                                          #
    #    device_type          =  icp_ip                                        #
    #    socket_type          =  sock_dgram                                    #
    #    local_address        =  0.0.0.0                                       #
    #    local_port_base      =  0x3200                                        #
    #    foreign_address      =  127.0.0.1                                     #
    #    foreign_port_base    =  0x3300                                        #
    #    internal_protocol    =  ipfmp                                         #
    #                                                                          #
    #    device_name          =  icp3                                          #
    #    device_type          =  icp_ip                                        #
    #    socket_type          =  sock_dgram                                    #
    #    local_address        =  0.0.0.0                                       #
    #    local_port_base      =  0x3300                                        #
    #    foreign_address      =  127.0.0.1                                     #
    #    foreign_port_base    =  0x3200                                        #
    #    internal_protocol    =  ipfmp                                         #
    #                                                                          #
    #    sra_module           =  ipfmp486.o                                    #
    #                                                                          #
    # Notice that icp2port0 writes to port 0x3300 and reads from 0x3200,       #
    # while       icp3port0 writes to port 0x3200 and reads from 0x3300.       #
    # All data written to icp2port0 will be received at icp3port0, and         #
    # vice-versa.                                                              #
    #                                                                          #
    # Thus, if the Message Switch is configured to connect to icp3port0,       #
    # it will receive all data written by any client application to            #
    # icp2port0, and the client application will receive everything that       #
    # the Message Switch writes to icp3port0.                                  #
    #                                                                          #
    #--------------------------------------------------------------------------#
    #
    # With the above lines in the bootcfg file, Message Switch
    # specifications like:
    
    #
    # icp3port0 > icp6port0
    # icp3port0 > icp6port1
    # icp3port0 > icp7port0
    
    #
    # could be used to cause all data written by a client program
    # to icp2port0 to be written to all the links shown.  Or,
    # Message Switch specifications like:
    
    #
    # icp1port0 > icp3port0
    # icp1port1 > icp3port0
    # icp2port0 > icp3port0
    
    #
    # would cause all data received by the Freeway on the 3 links shown
    # to be sent to icp3port0, where they will be received by a single client
    # program connected to icp2port0.  Or, Message Switch specifications like:
    
    #
    # icp1port0 > icp3port0
    # icp1port0 > icp3port1
    # icp1port0 > icp3port2
    
    #
    # would cause each data packet received by the Freeway on icp1port0 to be
    # sent (through the icp3-icp2 connection) to 3 different client applications,
    # each connected to a separate port on icp2.
    #