title: WaitNamedPipe does not wait
body: <p>I have a pipe (server) on one process waiting for clients  with <code>ConnectNamedPipe</code>.<br>
  In the client process I'm waiting for the server to start listening with <code>WaitNamedPipe</code>, I gave it a timeout of 5000 ms.<br>
  I tried testing the client and even though the server wasn't running, <code>WaitNamedPipe</code> didn't wait at all.  </p>
  
  <p>I don't know if any code would be helpful here because I just try to use those methods. But if you want to see something, just tell me what is relevant. :)  </p>
  
  <p>oh, and the weird part is that it gave me error code 2: "file not found'.<br>
  Isn't it supposed to wait until the pipe is opened (the pipe is the "file", isn't it?)</p>
  
  <p>What can cause <code>WaitNamedPipe</code> not wait?</p>