Client connection (-CCON) command

The client connection command specifies whether a client connection is shared between map instances or exclusively associated with a single map instance.

Read syntax diagramSkip visual syntax diagram
-CCON command syntax

               .-excl---.   
>>-+--------+--+--------+--------------------------------------><
   '- -CONN-'  '-shared-'   

excl
The client connection is exclusive to a particular map instance. When a client connects to an adapter that is running in server mode, the connection is associated with the map instance until the client disconnects. The map can receive multiple requests from the client and return multiple responses. Use this option in an environment where the client connects to the socket, engages in a conversation, and then disconnects.

This is the default client connection mode.

shared
The client connection can be shared by multiple map instances. You can configure the adapter to run a map after the number of messages specified by the -QTY command have been received, or when the listening time specified by the -LSN command has elapsed. Use this option in an environment where the client connects to the socket and remains connected, feeding a continuous stream of messages to the Launcher.