delorie.com/archives/browse.cgi | search |
From: | jsm AT jsm-net DOT demon DOT co DOT uk (James Murray) |
Newsgroups: | comp.os.linux.development.apps,comp.os.msdos.djgpp,comp.programming,comp.protocols.tcp-ip |
Subject: | Re: can i et hold of a copy of a telnet program's source code |
Date: | Tue, 12 Jan 1999 20:54:16 GMT |
Organization: | Jsm at home near Birmingham, UK. |
Message-ID: | <1999Jan12.205416.15313@jsm-net.demon.co.uk> |
References: | <36914610 DOT 0 AT seralph9> <369348bf DOT 0 AT seralph9> <36938A55 DOT C4D92A61 AT ehsco DOT com> <778f8k$298$1 AT samba DOT rahul DOT net> |
X-Trace: | mail2news.demon.co.uk 916175278 mail2news:3827 mail2news mail2news.demon.co.uk |
X-Complaints-To: | abuse AT demon DOT net |
X-Mail2News-Path: | news.demon.net!post-11.mail.demon.net!post.mail.demon.net![158.152.60.111]!jsm-net.demon.co.uk |
Lines: | 24 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
In article <778f8k$298$1 AT samba DOT rahul DOT net> axlq AT unicorn DOT us DOT com (to comp.os.linux.development.apps) writes: >In article <36938A55 DOT C4D92A61 AT ehsco DOT com>, Eric A. Hall <ehall AT ehsco DOT com> wrote: >> >>Are you asking how to setup a terminal for a process to use as its >>input/output mechanism, like SMTP/POP use "telnet" for communications? > >I don't know about the original poster, but that's exactly what *I* am >looking for. Any sort of code example that would serve as a tutorial, >without the telnet/terminal handling baggage. If you want to see how a POP client is written, you could grab the source of fetchmail: http://www.tuxedo.org/~esr/fetchmail ftp://ftp.ccil.org/pub/esr/fetchmail It is tidy code and the functions should be ok to follow for a beginner (well, I can understand them.) The code should be ok to adapt to other uses. You'll also want the relevant RFCs to your application, sorry I can't provide the numbers. jsm
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |