Информационный сервер для программистов: Исходники со всего света. Паскальные исходники со всего света
  Powered by Поисковый сервер Яndex: Найдется ВСЁ!
На Главную Pascal Форум Информер Страны мира
   Сети TCP/IP    >>    pasock10
   
 
 PASOCK 1.0 - Finger Client and Daemon for Winsock   Mike Caughran 16.11.94

Finger - клиент и сервер. Пример построения сетевых приложений на базе WINSOCK.PAS для BP7.
Finger (client and daemon) is one of the easiest TCP/IP services to implement. Finger usually resides on socket 79. Tested with Trumpet, Novell, WFW, NT tcp stacks. Compiled by TPW or BP7. WinCRT is used also for clarity.



36k 
 

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