Oracle9i Supplied PL/SQL Packages and Types Reference Release 1 (9.0.1) Part Number A89852-02 |
|
UTL_TCP , 6 of 15
This function receives binary data from a service on an open connection.
UTL_TCP.READ_RAW (c IN OUT NOCOPY connection, data IN OUT NOCOPY RAW, len IN PLS_INTEGER DEFAULT 1, peek IN BOOLEAN DEFAULT FALSE) RETURN PLS_INTEGER;
The connection must have already been opened via a call to open_connection()
. This function does not return until the specified number of characters have been read, or the end of input has been reached.
If transfer time-out is set when the connection is opened, this function waits for each data packet to be ready to read until time-out occurs. If it occurs, this function stops reading and returns all the data read successfully. If no data is read successfully, the transfer_timeout
exception is raised. The exception can be handled and the read operation can be retried later.
read_text(), read_line(), available()
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|