New topic: 

Telnet within RB app

<http://forums.realsoftware.com/viewtopic.php?t=37023>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        benco          Post subject: Telnet within RB appPosted: Mon Jan 
10, 2011 4:01 pm                         
Joined: Thu Mar 30, 2006 3:35 pm
Posts: 11                I'm trying to run a telnet session from my RB app 
(turning several telnet sessions into a sequence to look up specific data which 
currently takes several minutes of typing and connecting to several boxes and 
apps via telnet routines.  This ability would reduce down to one second via a 
GUI app and help us out a lot.)

Currently I'm just testing with localhost.

when I connect to my local box, I receive ÿý%ÿûÿûÿý'ÿýÿý
which translates to: FF FD 25 FF FB 01 FF FB 03 FF FD 27 FF FD 1F FF FD
or in dec: 255 253 037 255 251 001 255 251 003 255 253 039 255 253 031 255 253
this appears to be the telnet protocol according the RFC's

I'm a bit confused on how to get the the same ASCII you would get from a 
regular cmd prompt from 'telnet localhost' <Enter> which does not seem to match 
at all.

When I type 'telnet localhost' from a cmd prompt I get something like this:
*============================================
Welcome to Microsoft Telnet Server
*============================================
C:\path\here>

Is it possible to watch for and respond to data received using TCPSocket or 
should I be using something else?  Any guidance is appreciated.

TIA   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to