home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / CPP / WFC010.ZIP / TEST / PIPE / PIPE.CPP next >
Encoding:
C/C++ Source or Header  |  1995-09-24  |  416 b   |  26 lines

  1. #include "pipe.h"
  2. #pragma hdrstop
  3.  
  4. /*
  5. ** Author: Samuel R. Blackburn
  6. ** CI$: 76300,326
  7. ** Internet: sammy@sed.csc.com
  8. **
  9. ** You can use it any way you like.
  10. */
  11.  
  12. int main()
  13. {
  14.    // Create Server Thread
  15.  
  16.    if ( create_server_pipe( "IPC$" ) == TRUE )
  17.    {
  18.       TRACE( "Pipe Created\n" );
  19.       printf( "Server Pipe Created\n" );
  20.    }
  21.  
  22.    // Create client thread
  23.  
  24.    return( EXIT_SUCCESS );
  25. }
  26.