Socket Adapter
The Socket Adapter provides a means of passing data to and from HCL Link through standard TCP/IP sockets.
The adapter provides a listener interface that enables maps to be triggered upon arrival of data on a socket and therefore enables remote applications to pass data to HCL Link without the need for additional middleware software.
The Socket Adapter is implemented as a dynamic-link library (DLL) on Windows™ platforms (m4sock.dll) . It is assumed that message formats are binary.
The Socket Adapter supports the following:
- Conversations
- Client or Server mode
The adapter provides these functions:
- Gets one or more messages from a socket for input to HCL Link
- Puts a message to a socket as output from HCL Link
- Listens for messages and triggers maps to run as messages arrive
For the adapter commands that can be used with this adapter, see the list of adapter-specific commands.