Don't understand pipestream example

  • Thread starter Thread starter Tony!
  • Start date Start date
T

Tony!

http://msdn.microsoft.com/en-us/library/system.io.pipes.namedpipeserverstream.runasclient.aspx


One line of the code is...

// Wait for a client to connect
pipeServer.WaitForConnection();

I copied the example to try under vs2k8 and

NamedPipeServerStream thread created.
NamedPipeServerStream thread created.
NamedPipeServerStream thread created.
NamedPipeServerStream thread created.

Which is expected since it spins 4 threads.
But, it just hangs there. What connection is it waiting for?

Thanks,

Tony!
 
Back
Top