Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> utl_tcp reply from server

utl_tcp reply from server

From: <bestia9_at_hotmail.com>
Date: 4 May 2006 04:55:49 -0700
Message-ID: <1146743749.138427.311160@u72g2000cwu.googlegroups.com>


Hi ,

I have a problem with the reply from the server using utl_tcp. Everything works fine but I can't store the reply into a variable.

the reply from the server is : ACK or NACK

code :

....

    o_ok := utl_tcp.GET_LINE(c,true);

    dbms_output.put_line(o_ok); --> this output is always "OK"

      dbms_output.put_line(utl_tcp.get_line(c,true)); -->
               this out put is the reply from the  server "ACK or NACK"

How can I put the reply from the server
(dbms_output.put_line(utl_tcp.get_line(c,true)); ) in the variable o_ok?

Thx       

--
Received on Thu May 04 2006 - 06:55:49 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US