SOCKET_PATH

The SOCKET_PATH element defines the directory where Linux®/UNIX™ domain sockets will be created and stored.

Syntax

<SOCKET_PATH> path </SOCKET_PATH>
  1. path specifies the socket path.

Child elements

There are no child elements.

Usage

You use this element to define the directory where Linux/UNIX domain sockets will be created and stored. By default, SOCKET_PATH is configured as /tmp for Linux/UNIX systems.

Important: Socket path length

UNIX socket path length is system dependent and cannot exceed a specific limit.

Usage example

<RESOURCE_LIST>
  <WNT>
    <RESOURCE Id="res.dispatcher.socket.family" Source="INTERNAL">TCP</RESOURCE>
    <RESOURCE Id="res.dispatcher.socket.path" Source="INTERNAL">C:\temp</RESOURCE>
  </WNT>
  <UNX>
    <RESOURCE Id="res.dispatcher.socket.family" Source="INTERNAL">UNIX</RESOURCE>
    <RESOURCE Id="res.dispatcher.socket.path" Source="INTERNAL">/tmp</RESOURCE>
  </UNX>
...
<INTERFACE_TO_CONNECTOR>
  <TCP_SERVER_PORT>$(res.ic.server.port)</TCP_SERVER_PORT>
  <DOCUMENT_ROOT>$(res.path.docroot)</DOCUMENT_ROOT>
  <TEMPORARY_DIRECTORY>$(res.path.tmp)</TEMPORARY_DIRECTORY>
  <SOCKET_FAMILY>$(res.dispatcher.socket.family)</SOCKET_FAMILY>
  <SOCKET_PATH>$(res.dispatcher.socket.path)</SOCKET_PATH>
</INTERFACE_TO_CONNECTOR>  

Parent elements

This element is a child of INTERFACE_TO_CONNECTOR