Using the TCP/IP Palette Activities

The general sequence of events when using the TCP/IP palette resources is the following:

Procedure 

  1. Create a TCP Connection shared configuration resource that describes the connection information.

  2. One of the following occurs depending upon whether the process definition is a TCP/IP client or server:

      Procedure
    1. When a process definition acts as a TCP/IP client communicating with a TCP/IP server, a connection must be opened using the TCP Open Connection activity.

    2. When a process definition acts as a TCP/IP server waiting for incoming TCP/IP requests, the process either starts with a TCP Receiver process starter or has a Wait for TCP Request activity that waits for an incoming connection request.

  3. In the process definition the Read TCP Data and Write TCP Data activities are used to read and write data to the TCP connection.

  4. Once all processing is complete, the TCP Close Connection activity is used to close the TCP connection.