UTL_TCP is a system package that enables communication with external servers using the TCP/IP protocol.
Applicability
This topic applies only to OceanBase Database in Oracle mode.
Overview of UTL_TCP subprograms
The following table lists the UTL_TCP subprograms supported in the current version of OceanBase Database and their brief descriptions.
| Subprogram | Description |
|---|---|
| OPEN_CONNECTION | Opens a TCP/IP connection to the specified service. |
| CLOSE_CONNECTION | Closes an open TCP/IP connection. |
| CLOSE_ALL_CONNECTIONS | Closes all open TCP/IP connections. |
| WRITE_LINE | Transmits a text line to the service over an open connection. |
| WRITE_TEXT | Transmits a text message to the service over an open connection. |
| WRITE_RAW | Transmits binary data to the service over an open connection. |
| GET_LINE | Returns the read text line data until the end of the line or input is reached. |
| GET_TEXT | Returns the read text data. |