Server-side configuration

Use an ini file to define the configurable parameters. The scripts use the CL_HTTPServer.ini file.

Potentially configurable parameters within CL_HTTPServer.ini include:

  • CL_Tcp. This contains:
    • host: The system location.
    • Socket_Set is the range of sockets to use for connection to the system. For example 9001-9005, 9002, 9004, 9006, or 9001, 9003-9005.
    • timeout is the default time, in seconds, to spend attempting to connect before returning a time-out error. This is overridden by the script argument, if one is specified.
    • PacketStyle can be mlp or len10. For example, packetStyle=len10.

      mlp is the HL7 MLP protocol.

      len10 has ASCII length = 10 and Exclusive Fill = 0.

  • CL_File. This contains:
    • Dir: The full path to the directory on the system machine to which files are transferred.
    • Del: A y or n value that indicates whether files are deleted from the server after they are retrieved by a client. This applies only to the get method.