Finger is one of the easiest clients to implement.
Finger usually resides on socket 79.
WinCRT is used also for clarity. (Eschew Obfuscation.)
Fingerd is one of the easiest servers to implement and
demonstrates how to use sockets clearly.
WinCRT is used also for clarity. (Eschew Obfuscation.)
Finger usually resides on socket 79.
Usage: Install a TCP/IP stack with associated WINSOCK.DLL.
If you have no TCP/IP stack, then get TRUMPET.
Start fingerd.exe from Windows and leave running.
Telnet to the host running fingerd. (use port 79
instead of the standard telnet port 23)
Press enter on the telnet client and you should
see the finger information sent back to you.
Or you can use the finger client supplied to connect
with the finger daemon.
readme.txt -- this file
finger.pas -- sample winsock client code showing
"hello from finger world"
fingerd.pas -- sample winsock server code showing
"hello from fingerd world"
error.inc -- finger and fingerd error messages
winsock.inc -- header file for winsock.pas
winsock.pas -- interface unit for winsock.dll
crtclass.pas -- sample program which shows how to hook wincrt to
add a menubar and messageproc.
errono.rc -- a resource file containing a string table which could
be used with a LoadString command
(not used with finger or fingerd)
References:
sunsite.unc.edu (winsock.hlp and sample code there)
Doctor Dobbs (feb 1993 issue)
Tested with Trumpet, Novell, WFW, NT tcp stacks.
Please keep this zip file intact.
Mike Caughran
Cedar Island Software
9018 Division St
|