On 15 Jun 2000, Miel wrote:

> if I connect to a telnet platform (let's say "www.telnet.org" with
> port "telnet" it connects as usual. I set the script so it reads
> from a socket called tFtpSock whenever the stack is idle and puts it
> into a field named: "main". after I connect, I get something like
> this: ÿýÿý ÿý#ÿý' can I decode this into
> plain text? and if I can HOW?

You probably can't, because it's probably not text.  I'm not very
familiar with the Telnet protocol, but it's more likely that data is
control codes that exchange information between client and server
about terminal types or protocol version or something like that.
You'd have to read the Telnet RFC to get some idea what the protocol
requires and then either just ignore that stuff and tell the server
what it wants to hear, or decode it using binaryDecode() or maybe just
charToNum().  If you need any help or encouragement to take on this
project, let me know: we've wanted to see an example telnet
implementation for a long time but haven't found anyone willing to
take it on (one look at the RFC and you may run away too ;-)
  Regards,
    Scott

> regards, Miel
> 
> 
> -=[MieL]=-

********************************************************
Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...



Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to