home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 164.lha / IPC / DemoSources / READ_ME < prev    next >
Text File  |  1988-04-28  |  2KB  |  70 lines

  1.  
  2.                             IPC Demo Sources
  3.                             ================
  4.  
  5. This directory contains source files for a Print Formatting Server
  6. ("Pserver"), and a very dumb Client program to test it ("MinClient").
  7. Both of these sources are heavily commented, and are intended as
  8. demonstrations of how to use the IPC protocols.
  9.  
  10. Include header file:
  11.  
  12.     IPC.h   -- a copy of the file from IPC_Sources, for convenience.
  13.  
  14.  
  15. Source Files:
  16.  
  17.     Pserver.c
  18.     MinClient.c
  19.  
  20.  
  21. Link Files (for BLink):
  22.  
  23.     Pserver.lnk
  24.     MinClient.lnk
  25.  
  26. Documentation:
  27.  
  28.     Pserver.doc --  A detailed description of the message format accepted
  29.                     by Pserver, and the requirements for using it.
  30.  
  31.     MinClient.doc   --  A short description of the test program and its
  32.                         commands.
  33.  
  34.  
  35.                             ++++++++++++++
  36.  
  37. Compatibility:
  38.  
  39.     These programs have only been tested under Lattice 4.0.  They will need
  40.     some conversion (ensuring LONGS are used where necessary, and so on)
  41.     for compilation under Manx.
  42.  
  43.  
  44. Notes:
  45.  
  46.     These programs have been written to reduce space as much as possible:
  47.     they use '_main()' rather than main(), for instance, and don't use
  48.     C level I/O -- just AmigaDOS calls.  They should be compiled using the
  49.     Lattice -v switch, to reduce space a little more, and there may be
  50.     other measures that could be taken.
  51.  
  52.     This means that they CANNOT be invoked directly from an icon in their
  53.     present form -- only from a CLI.  AS they need to run simultaneously
  54.     (!) they must either be started from their own CLI, or with the RUN
  55.     command (remembering that they both can generate console output).
  56.  
  57.     You can use an Xicon script to set them both going in a suitable
  58.     environment (as in the demo icon on this disk), but there are TRAPS!
  59.     These seem to be due to a bug in RUN, which has problems when it is
  60.     invoked from an AmigaDOS Execute() call: you MUST redirect the output
  61.     of RUN ITSELF to NIL: to avoid Guruing.  For example:
  62.  
  63.         RUN >NIL: Pserver >"CON:100/50/450/100/Pserver Output"
  64.  
  65.     [This is nothing to do with IPC -- it is a general problem Xicon has
  66.     with AmigaDOS -- as far as I can tell, it's the systems fault (:-))]
  67.     See the script for the demo for more details.
  68.  
  69.  
  70.