File:  [WindowsNT SDKs] / mstools / samples / rpc / hello1 / client.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:20:01 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-oct-1991, ntsdk-dec-1991, HEAD
Microsoft Windows NT Pre-Release 11-19-1991

/****************************************************************************
                       Microsoft RPC Version 1.0 Alpha
                                October 1991
                               Hello1 Example

    FILE:       hello1\client.c
    USAGE:      client
    PURPOSE:    Client side of RPC distributed application hello1
    FUNCTIONS:  main() - makes remote procedure call to HelloProc1

    COMMENTS:   This version of the distributed application that 
    prints "hello, world" on the server features automatic binding.
    The client main program, below, does not include any code
    relating to remote procedure call. It simply calls the
    remote procedure as though it were a local procedure.
****************************************************************************/
#include <stdlib.h>
#include <windows.h>
#include <string.h>
#include <stdio.h>
#include <ctype.h>

#include <rpc.h>
#include "hello1.h"   // RPC data for this interface

void main(void)
{
    printf("This application requires the locator service.\n");
    printf("The locator service is not provided with RPC V1.0 Alpha.\n");
    exit(0);

    HelloProc1();     // perform remote processing
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.