Previous Topic: Example: L3280BNext Topic: SOCKET Syntax


SOCKET

SOCKET lines are used to support Generic Listening and DDS using TCP/IP. Generic Listening is enabled by defining one or more LISTENER PTERMs and a number of BULK PTERMs. DDS using TCP/IP is enabled by defining one DDSTCPIP PTERM for each remote node. Associate an LTERM with each PTERM.

Each connection request to a LISTENER PTERM requires the use of a BULK PTERM/LTERM pair within the TCP/IP line. Define as many BULK PTERM/LTERM pairs as the expected maximum number of concurrent connections.

Notes:

  1. If you are exploiting the suspend/resume capability (in other words, tasks terminate without closing their socket), the required number of BULK PTERM/LTERM pairs can become rather large.
  2. You can use the REPEAT COUNT clause of the PTERM statement to facilitate the definition of multiple PTERM/LTERM pairs.