telnet is open socket to "xxx:23" ?

Claus Dreischer claus at dreischer.de
Thu May 9 15:46:01 EDT 2002


Hi Klaus,

Klaus Major wrote:
> 
> Hi Claus,
> 
> > Hi,

...

> >       write "cd Other" & linefeed  to socket mySocket
> >       write "do Boot-system" & linefeed  to socket mySocket
> >
> > (this should reboot the router) nothing happens.
> >
> > A following
> >       read from socket mySocket for 22
> >
> > gives me "cd Otherdo Boot-system" as the echo from telnet.
> >
> > So, to me it looks like the <Enter-Key> after each command is not
> > transmitted.
> >
> > How can i send an <Enter> with  write to socket ?
> >
> >
> > Regards,
> >       Claus Dreischer.
> 
> don't know if this helps, but try:
> 
> ...
>     write "cd Other" & CRLF  to socket mySocket
> ...


It's working now!
Thanks.

Too bad i havn't found the CRLF-constant in the Transcript Dictionary.

 
> Tschuess :-)
> Klaus Major

Gruß,
	Claus Dreischer.

PS: Kaum macht man's richtig, schon funktionierts ;)



More information about the use-livecode mailing list