NOVELL TECHNICAL INFORMATION DOCUMENT TITLE: Sample Code - SAPing Server (NLM) & Client DOCUMENT ID: TID021855 DOCUMENT REVISION: A DATE: 14SEP94 ALERT STATUS: Yellow INFORMATION TYPE: Issue README FOR: XSAP1A.EXE NOVELL PRODUCT and VERSION: NLM SDK for NetWare 4.0 1.0c ABSTRACT: This self extracting zip file contains sample source code and executables which demonstrate how to write a basic SAP client/server application. (Replaces XSAP1.EXE) ----------------------------------------------------------------- DISCLAIMER THE ORIGIN OF THIS INFORMATION MAY BE INTERNAL OR EXTERNAL TO NOVELL. NOVELL MAKES EVERY EFFORT WITHIN ITS MEANS TO VERIFY THIS INFORMATION. HOWEVER, THE INFORMATION PROVIDED IN THIS DOCUMENT IS FOR YOUR INFORMATION ONLY. NOVELL MAKES NO EXPLICIT OR IMPLIED CLAIMS TO THE VALIDITY OF THIS INFORMATION. ----------------------------------------------------------------- ISSUE This file replaces the previous XSAP1.EXE which had a few undesirable code paths (putting it poetically). All changes are documented as comments in XSAP1A.EXE source code. XSAP1A.TXT This file. COMMON.H Definitions needed by both the client and the server processes. SERVER.C Source code for SERVER.NLM. CLIENT.C Source code for CLIENT.EXE. CLIENT.EXE Sample client application which sends a 'PONG' request to SERVER.NLM. It may discover the address of the server process by either a Get-Nearest operation, or a ScanID operation. SERVER.NLM Sample server application which SAPs (advertises) using a dynamic socket. It also handles 'PING' request. Multi threaded. Self-Extracting File Name: XSAP1A.EXE Revision: A Files Included Size Date Time \ XSAP1A.TXT (This File) SERVER.C 16906 08-24-94 9:05a SERVER.NLM 16208 09-14-94 8:57a CLIENT.C 14679 09-14-94 10:44a CLIENT.EXE 32884 09-14-94 10:44a COMMON.H 2557 09-14-94 8:53a ----------------------------------------------------------------- Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information. ----------------------------------------------------------------- ÿ