AnonymousPipeClientStream Detect binary message received. Rinse. Repeat

  • Thread starter Thread starter Jon Q Jacobs
  • Start date Start date
J

Jon Q Jacobs

Guest
I have a Solution with two WinForms projects that set up AnonymousPipe communication between them.
When the server launches the client, the client pipes are created from the passed handle strings okay.
I want to keep the client ready to receive many messages, which may be seconds apart or hours apart, but the client is to stay up waiting for messages and responding as they come in.
I figured I would have a timer fire periodically, but in the timer tick method, how do I detect a message is coming in? or finished?

Thanks,
Jon Jacobs, There are 10 kinds of people: those who understand binary and those who don't

Continue reading...
 
Back
Top