home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / tcpiptk / rpc / readme < prev    next >
Text File  |  1999-05-11  |  1KB  |  41 lines

  1. C)   RPC consists of three C programs: RAWX.C, GENESEND.C, and 
  2.      GENESERV.C (located in \TOOLKIT\SAMPLES\TCPIPTK\RPC).
  3.  
  4.      RAWX.C provides an example of the RAW Client/Server usage.  
  5.        Portmapper must be running.  
  6.      GENESERV.C is a generic server.  It receives an integer or float and 
  7.        returns them respectively.  Portmapper must be running.  
  8.      GENESEND.C  sends an integer to the remote host (GENESEND) and
  9.        receives the integer back at the local host.  Portmapper and Remote 
  10.        server (GENESEND) must be running.  
  11.  
  12.      Following are details on building and executing the RPC Samples:
  13.  
  14.      (1) To Compile and Link the sample program, type:
  15.  
  16.            nmake  -f rpcsamp.mak
  17.  
  18.      (2) To start Portmapper, type:
  19.  
  20.            start portmap
  21.  
  22.      (3) To start the geneserv.exe server, type:
  23.  
  24.            start geneserv
  25.  
  26.      (4) To run genesend.exe, type:
  27.            
  28.            genesend hostname integer
  29.  
  30.          For example,
  31.  
  32.            genesend charm 1000
  33.  
  34.      (5) To run rawex.exe, type:
  35.            
  36.            rawex integer
  37.  
  38.          For example,
  39.  
  40.            rawex 1000
  41.