From: "William Coleman" Newsgroups: comp.os.linux.development.apps,comp.os.msdos.djgpp,comp.programming,comp.protocols.tcp-ip References: <36914610 DOT 0 AT seralph9> <76tsds$2r1$1 AT wagner DOT wagner DOT home> Subject: Re: can i et hold of a copy of a telnet program's source code Date: Wed, 6 Jan 1999 11:25:08 -0800 Lines: 33 X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 NNTP-Posting-Host: 155.245.240.172 Message-ID: <369348bf.0@seralph9> X-Trace: 6 Jan 1999 11:27:59 GMT, 155.245.240.172 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Im really looking for source code so i can use it to set up a tcp connection between two processes (ie using windows with 2 dosboxes) Victor Wagner wrote in message <76tsds$2r1$1 AT wagner DOT wagner DOT home>... >William Coleman (weecol AT essex DOT ac DOT uk) wrote: >: I have djgpp and i want to get a copy of telnet source code if i can. >: can anyone supply me? > >Problem is that telnet program for DOS (djgpp) and telnet program for >UNIX should have quite different functionality. > >Telnet for UNIX need to handle telnet protocol only, becouse it already >runs on real terminal or terminal emulator. Most complicated thing in >telnet for DOS is terminal emulator. > >There is telnet for dos, which comes as example with Waterloo TCP >library (which is, I think, used in djgpp), so dig a bit deeper. > >Of course, any linux distribution comes with sources of its telnet >client, but it is Unix telnet, which just sends current value of TERM >environment variable to remote host and allows terminal it started from >to handle anything. (it can be useful for DOS if you have ANSI.SYS >installed). > > > > > >-- >-------------------------------------------------------- >I have tin news and pine mail... >Victor Wagner @ home = vitus AT wagner DOT rinet DOT ru