1. Telnet

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&nbsp;tell me how i can 
make&nbsp;a&nbsp;telnet client&nbsp; 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>&nbsp;</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--

new topic     » topic index » view message » categorize

2. Re: Telnet

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: Telnet

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 smile 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.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu