Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Telnet from Oracle using UTL_TCP
I'd suggest you to study RFC 854 thru 860 to see what that 'garbage' could
possibly mean. It may actually be some telnet command(s). If the first
byte you receive is 255 (hex FF), then it definitely is telnet IAC (Interpret
As Command) sequence. RFCs 855 thru 860 define some Telnet commands.
You can find RFCs at http://www.ietf.org/rfc/rfc<4-digit_RFC_number>.txt
(for example, http://www.ietf.org/rfc/rfc0854.txt for Telnet Protocol specs).
hth.
-- Vladimir Zakharychev (bob@dpsp-yes.com) http://www.dpsp-yes.com Dynamic PSP(tm) - the first true RAD toolkit for Oracle-based internet applications. All opinions are mine and do not necessarily go in line with those of my employer. "Mike" <nospam_at_please.com> wrote in message news:_9tw7.22$P67.567_at_wa.nnrp.telstra.net...Received on Tue Oct 09 2001 - 07:13:26 CDT
> Hi there folks,
>
> I'm playing with the idea of using Telnet from within Oracle (8.1.7.2.3 on
> NT) to perform actions on our legacy box (sort of like a low cost Oracle
> Transparent Procedural Gateway ;))
>
> I can open a connection OK with UTL_TCP, but only get garbage when I read
> input from the port. The same script works fine with an SMTP service by
> changing port to 25. I've mucked around with various character sets, but
> nothing seems to work.
>
> Has anyone discovered how to use the UTL_TCP package to do this?
>
> Thanks in advance,
>
> Mike Cretan
> Database Consultant, Tasmania
>
>
>
![]() |
![]() |