This program is a simple named pipe client that demonstrates the API calls needed
to successfully develop a basic named pipe client application. When this application
successfully connects to a named pipe, the message “This is a test” is written
to the server.
There are four basic steps needed to implement a client:

  1. Wait for a Named Pipe instance to become available using the WaitNamedPipe()
    API function.
  2. Connect to the Named Pipe using the CreateFile() API function.
  3. Send data to or receive data from the server using the WriteFile() and
    ReadFile() API functions.
  4. Close the Named Pipe session using the CloseHandle() API functions.


cl -o Client Client.cpp
Command Line Options: