TCP Communication Procedures
The TCP communication procedures apply to a particular client connection. Use these procedures to establish a connection and to communicate. You must call either the BeginTcpIp or the StartTcpNotice initialization routine before you can begin using TCP communication procedures.
The following table provides a short description of the TCP communication procedures and gives the page number where each call’s detailed description is located.
| Procedure Call | Description | Location |
|---|---|---|
| Tcp6Open | Initiates a TCP IPv6 connection. | Tcp6Open and Tcp6WaitOpen |
| Tcp6Status | Obtains the current status of a TCP IPv6 connection. | Tcp6Status |
| Tcp6WaitOpen | Initiates a TCP IPv6 connection and waits for the establishment of the connection. | Tcp6Open and Tcp6WaitOpen |
| TcpNameChange | Is used if the virtual machine running the TCP/IP program is not using the default name, TCPIP, and is not the same as specified in the TCPIPUSERID statement of the TCPIP DATA file. | TcpNameChange |
| TcpOpen | Initiates a TCP IPv4 connection. | TcpOpen and TcpWaitOpen |
| TcpOption | Sets an option for a TCP connection. | TcpOption |
| TcpSClient | Indicates to the SSL server that the connection is to be secure and that the SSL server needs to initiate an outbound handshake. | TcpSClient |
| TcpSClose | Performs Close_Notify on a TLS connection but leave the TCP session up. | TcpSClose |
| TcpSServer | Indicates to the SSL server that the connection is to be secure and that the SSL server needs to wait for an incoming handshake. | TcpSServer |
| TcpSStatus | Returns details about a session, such as whether or not it is secure and the encryption suite. | TcpSStatus. |
| TcpWaitOpen | Initiates a TCP IPv4 connection and waits for the establishment of the connection. | TcpOpen and TcpWaitOpen |
| TcpFSend | Sends TCP data. | TcpFSend, TcpSend, and TcpWaitSend |
| TcpSend | Sends TCP data. | TcpFSend, TcpSend, and TcpWaitSend |
| TcpWaitSend | Sends TCP data and waits until TCPIP accepts it. | TcpFSend, TcpSend, and TcpWaitSend |
| TcpFReceive | Establishes a buffer to receive TCP data. | TcpFReceive, TcpReceive, and TcpWaitReceive |
| TcpReceive | Establishes a buffer to receive TCP data. | TcpFReceive, TcpReceive, and TcpWaitReceive |
| TcpWaitReceive | Establishes a buffer to receive TCP data and waits for the reception of the data. | TcpFReceive, TcpReceive, and TcpWaitReceive |
| TcpClose | Begins the TCP one-way closing sequence. | TcpClose |
| TcpAbort | Shuts down a TCP connection immediately. | TcpAbort |
| TcpStatus | Obtains the current status of a TCP IPv4 connection. | TcpStatus |