/*==FINGER.H==========================================================*/ /* */ /* Module : FINGER */ /* */ /* Project : FINGER */ /* */ /* Description: This is a BC++-Version of the finger client-server */ /* application that uses the Windows Sockets API. */ /* It is based on the article of Mike Calbaum, Frank */ /* Porcaro, Mark Ruegsegger, Bruce Backman in */ /* Dr. Dobb's Journal February 1993. */ /* It was tested using Super-TCP 3.0 from Frontier */ /* Technologies Corp. */ /* */ /*--------------------------------------------------------------------*/ /* */ /* (c) Enter AG, Zrich, 1993 */ /* */ /*--------------------------------------------------------------------*/ /* */ /* Author(s) : Hartwig Thomas */ /* */ /* Started : 24. March 1993 */ /* */ /* Finished : 29. March 1993 */ /* */ /*--------------------------------------------------------------------*/ /* */ /* Modifications: */ /* */ /* AUTHOR | DATE | COMMENT */ /* ----------------|--------------|-------------------------------- */ /* | | */ /* | | */ /* */ /*====================================================================*/ // link these strings into the code so they cannot be edited as resources #define VERSION "1.00" #define AUTHOR "Hartwig Thomas" #define COPYRIGHT "© Enter AG, Zürich, 1993" #ifndef FINGER_DEF #define FINGER_DEF /* string sizes */ #define STRSIZESHORT 31 #define STRSIZELONG 255 #define BUFFERSIZE 4096 /* menu items */ #define IDM_CLIENT 101 #define IDM_SERVER 102 #define IDM_CANCEL 103 #define IDM_ABOUT 104 /* IDs of about dialog */ #define IDC_AVERSION 201 #define IDC_AAUTHOR 202 #define IDC_ACOPYRIGHT 203 /* IDs of client prompt dialog */ #define IDC_CHOSTNAME 301 #define IDC_CUSERNAME 302 /* IDs of server prompt dialog */ #define IDC_SFINGERMSG 401 /* name of the application */ #define IDS_APPLICATION 5001 /* name of the main window class */ #define IDS_MAINCLASS 5002 /* name of the main icon */ #define IDS_MAINICON 5003 /* name of the main menu */ #define IDS_MAINMENU 5004 /* caption of main window */ #define IDS_MAINTITLE 5005 /* name of accelerator resource */ #define IDS_ACCELER 5006 /* names of dialogs */ #define IDS_ABOUTNAME 5101 #define IDS_CLIENTNAME 5102 #define IDS_SERVERNAME 5103 /* message strings */ #define IDS_INITERROR 5201 // title #define IDS_CLIENTERROR 5202 // title #define IDS_SERVERERROR 5203 // title #define IDS_INPUTERROR 5204 // title #define IDS_STARTUPERROR 5205 #define IDS_VERSIONERROR 5206 #define IDS_UNKNOWNHOST 5207 #define IDS_NOSOCKET 5208 #define IDS_NOCONNECT 5209 #define IDS_NOSEND 5210 #define IDS_NORECV 5211 #define IDS_NODATA 5212 #define IDS_NOBIND 5213 #define IDS_NOLISTEN 5214 #define IDS_NOWSAASYNC 5215 #define IDS_NOACCEPT 5216 #define IDS_CONNLISTEN 5217 // User Messages based on WM_USER #define UM_CONNECT 1 #define UM_DATA 2 #endif /*-End of FINGER.H-----------------------------------------------------*/