Jump to content


Named Pipes C++


1 reply to this topic

#1 code2K

    New Member

  • Members
  • PipPip
  • 10 posts

Posted 18 October 2006 - 08:33 PM

Hi, I need to know if theres a way to force some data into a Named Pipe without having to open a client connection to it (I have the handle to it). I need to keep the server-end which just reads (in blocking mode) as lean as possible and hear that multiple connections can cause big overhead. Grateful for any advice.

#2 DrunkenCoder

    Member

  • Members
  • PipPip
  • 97 posts

Posted 19 October 2006 - 08:09 AM

Err, If you have a write handle to a pipe then you indeed already have a connection so just writing to it via WriteFile should work just fine and the underlying mechanisms takes care of synchronization for you.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users