Using the TCP/IP Palette Activities
The general sequence of events when using the TCP/IP palette resources is the following:
Procedure
-
Create a TCP Connection shared configuration resource that describes the connection information.
-
One of the following occurs depending upon whether the process definition is a TCP/IP client or server:
- Procedure
-
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.
-
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.
-
-
In the process definition the Read TCP Data and Write TCP Data activities are used to read and write data to the TCP connection.
-
Once all processing is complete, the TCP Close Connection activity is used to close the TCP connection.