1. Telnet
- Posted by Renzo Beggia <1213 at pandora.be> Mar 21, 2002
- 496 views
This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C1D11A.12B8F270 charset="iso-8859-1" Hi, could someone tell me how i can make a telnet client in Euphoria??? or send me a sample code . ThanX Renzo Beggia from Belgium ------=_NextPart_000_0005_01C1D11A.12B8F270 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: 8bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2713.1100" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Hi, could someone tell me how i can make a telnet client in Euphoria???</FONT></DIV> <DIV><FONT face=Arial size=2>or send me a sample code .</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>ThanX</FONT></DIV> <DIV><FONT face=Arial size=2>Renzo Beggia</FONT></DIV> ------=_NextPart_000_0005_01C1D11A.12B8F270--
2. Re: Telnet
- Posted by Kat <gertie at PELL.NET> Mar 21, 2002
- 535 views
On 21 Mar 2002, at 20:50, Renzo Beggia wrote: > > Hi, could someone tell me how i can make a telnet client in Euphoria??? > or send me a sample code . Look in the archives, at: http://www.rapideuphoria.com/cgi-bin/search.cgi?keywords=telnet Kat
3. Re: Telnet
- Posted by acran at readout.fsnet.co.uk Mar 22, 2002
- 499 views
At 20:50 21/03/02 +0100, you wrote: >Hi, could someone tell me how i can make a telnet client >in Euphoria??? or send me a sample code . > >ThanX >Renzo Beggia >from Belgium Hello Renzo, A few years back I wrote a really basic telnet client in C. I've dusted off the source (now I know why I keep copies of stuff like this and you can take a look at: http://www.readout.fsnet.co.uk/projects/telnetst/index.htm Although C isn't the easiet code to read it might give you ideas how to handle the various byte codes the telnet protocol uses to setup and maintain a link. I would not have been able to write this client (nor would I have attempted to) without having the following book (or one similar): Internetworking with TCP/IP Volume III Client-Server programming and applications BSD Socket Version Douglas E. Comer and David L. Stevens ISBN: 0-13-020272-X Here is a link on Amazon: http://www.amazon.com/exec/obidos/ASIN/013260969X/qid=1016805737/sr=1-4/ref= sr_1_4/002-5600339-4390416 Note that the mailer will probably wrap that URL. You'll need to dig out some information on the telnet IAC (Interpret as command) character. I just punched in: IAC DONT ECHO into http://www.google.com/ and it turns up some useful (if initially cryptic) links. As for the actual TCP connections in Euphoria I can't really help but there are libraries in the archive that will help. Hopefully these libraries, some useful web resources on telnet and my working (well just) example of a telnet client in C should give you enough to at least get started on a Euphoria based client of your own. Good luck! Regards, Andy Cranston.