Click here to Skip to main content
Click here to Skip to main content

Tagged as

NT Telnet server and client

, 22 Nov 1999
Rate this:
Please Sign up or sign in to vote.
CTelnetView is a class derived from CView that implements a telnet client session with history.
  • Download client source - 22 Kb
  • Download server source - 22 Kb

    Sample Image

    <!-- Article Starts -->

    The Telnet Client view

    CTelnetView is a class derived from CView that implements a telnet client session with history. It can be useful in building a remote administration tool or a full-blown telnet client. As implemented the terminal emulation is for TTY only and no escape sequences (VT100) or ANSI control codes are recognized

    The socket instance and connect logic are all resident in the view. As a result an MDI app that allows acces to multiple servers is easily built.

    All of the interesting stuff is in the class CTelnetView and in the Socket class. All of the other classes are exactly as made by the DevStudio Project Wizard EXCEPT that a call to initialize winsock has been added to the App class.

    The Telnet Server

    In addition to the client above I have included a complete Telnet Server (Daemon). I had a hard time finding a good one for NT (it will not work for 95/98, don't know about 2000) so I wrote this one. It is a SINGLE USER server, only one session at a time can be running. It is, however a nice example of how to use the NT CreateProcessAsUser facility.

    It is an NT service. To install use:

    TelnetServer_NT -i

    To start it use:

    TelnetServer_NT -s


    The TelnetServer project uses the excellent NT Service wrapper class by Joerg Koenig. Thanks for the great code.

  • License

    This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

    A list of licenses authors might use can be found here


    About the Author

    Randy More

    United States United States
    No Biography provided

    Comments and Discussions

    GeneralMy vote of 5 Pinmember(BlackBox) Ethical Hacker31-Oct-10 6:36 
    GeneralError executing link.exe PinmemberRyanOrtegaRios27-Jan-05 7:44 
    Generalno command line prompter in the app window PinmemberLaciPosta2-Jun-04 2:59 
    Generalhelp on using the client PinmemberLaciPosta2-Jun-04 1:55 
    GeneralIs this project still going Pinmemberyacc20009-Jan-04 22:54 
    GeneralIs this project still going PinsussAnonymous9-Jan-04 22:46 
    Generalescape sequence support... Pinsusssunilch9-Jan-03 0:41 
    GeneralRe: escape sequence support... PinmemberAyourk1-Apr-04 20:09 
    Generaltelnet client! Pinmembernairutya24-Dec-02 12:31 
    GeneralRe: telnet client! Pinmembervramalingam23-Jun-03 12:15 
    GeneralMemory usage increases to 100% PinmemberVidhyaa Shankar28-Feb-02 3:07 
    GeneralWow thanks (made it into Dialog Based) PinmemberAnonymous21-Feb-02 18:27 
    GeneralRe: Wow thanks (made it into Dialog Based) PinmemberAmjad W. Hawash18-Mar-02 3:42 
    GeneralI did dialog based!!!! PinmemberEndaroza20-Mar-02 3:34 
    GeneralRe: I (partially) did dialog based (and i'llshare) PinmemberAmjad W. Hawash20-Mar-02 3:55 
    GeneralRe: I did dialog based!!!! PinmemberAmjad W. Hawash5-May-02 3:43 
    GeneralRe: I did dialog based!!!! PinmemberAnonymous21-May-02 9:40 
    GeneralCode analysers for VC++ PinmemberMangesh Sardesai3-Jul-01 22:57 
    GeneralLicense issues PinmemberChaney3-Jul-01 22:53 
    GeneralRe: License issues PinmemberDaniel Turini18-Jul-02 4:42 
    GeneralError Compiling TelnetServer PinsussThorsten Hering2-Nov-00 3:06 
    GeneralRe: Error Compiling TelnetServer PinmemberEric Shenk29-May-01 11:58 
    GeneralRe: Error Compiling TelnetServer PinmemberAnonymous13-Aug-01 7:54 
    GeneralRe: Error Compiling TelnetServer PinmemberAnonymous17-Feb-02 3:38 
    GeneralRe: Error Compiling TelnetServer PinmemberEiraj Shah17-Nov-01 1:26 
    GeneralRe: Error Compiling TelnetServer PinsussAnonymous8-Apr-04 8:46 
    GeneralRe: Error Compiling TelnetServer PinmemberAnonymous17-Feb-02 3:33 
    GeneralRe: Error Compiling TelnetServer Pinmemberreader119-May-08 0:13 
    QuestionUser/Password ???? PinsussDM24-May-00 11:16 

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

    | Advertise | Privacy | Terms of Use | Mobile
    Web02 | 2.8.141223.1 | Last Updated 23 Nov 1999
    Article Copyright 1999 by Randy More
    Everything else Copyright © CodeProject, 1999-2014
    Layout: fixed | fluid