The Code Project Click here for Dundas Software - 3D accelerated presentation quality ASP charting
Home >> Internet & Network >> General

CFinger v1.01 - The Finger Protocol
By PJ Naughter

An MFC class to encapsulate the Finger protocol. 
 VC6, Win9x, NT4, MFC
 Posted 4 Mar 2000
Articles by this author
Send to a friend
Printer friendly version
Latest Articles Logon Message Boards Submit an Article
Broken links? Email us!
2 users have rated this article. result:
4.5 out of 5.

  • Download source files - 26 Kb
  • Introduction

    Welcome to CFinger, a very simple MFC class to encapsulate the Finger protocol. Finger for those not familiar with all the internet protocols is the protocol used to retrieve information about a systems users. The information returned is a simple string and can be used for any purposes. For example the USGS (United States Geological Survey) use Finger to allow up to date Earthquake data to be retrieved.

    For detailed information about the Finger, you should read RFC 1288. You can find numerous Web Servers which carry these documents by going to http://www.yahoo.com and look for RFC and 1288.

    The sample app provided with the code implements a very simple GUI Finger client, a definite improvement over the console version provided by MS on NT.


    History
    Features
    Usage
    API Reference
    Contacting the Author


    History

    V1.0 (11 October 1999)

    V1.01 (17 October 1999)


    Features


    Usage


    API Reference

    The API consists of the single public member function of the class CFinger.

    CFinger::Finger


    CFinger::Finger

    BOOL CFinger::Finger(LPCSTR pszServer, LPCSTR pszUser, CString& sReply, BOOL bVerbose = FALSE, int nPort = 79, DWORD dwTimeout = 500);

    Return Value:
    If the function succeeds, the return value is TRUE. If the function fails, the return value is FALSE. To get extended error information, call ::GetLastError(). Parameters:

    Remarks:
    Call this member function to perform the actual "Finger" operation.



    Contacting the Author

    PJ Naughter
    Email: pjn@indigo..ie
    Web: http://www.naughter.com
    17 October 1999


    [Top] Rate this Article for us!     PoorExcellent  
    Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Refresh'
     Keyword Filter
     View   Per page   Messages since
    New threadTotal Messages for this article: 0
    Subject 
    Author 
    Date 
    -- No entries present --

    Home >> Internet & Network >> General
    last updated 4 Mar 2000
    Article content copyright PJ Naughter, 2000
    everthing else © CodeProject, 1999-2001.
    The Code Project Get the power of C++ with the ease of VB