0

I am using Named Pipes to communicate between two processes running in Windows. This is implemented in c++ using the Win32 API. The server pipe is implemented asynchronously using an overlapped structure. Can the same can be implemented on the client side, when reading?

Any examples I have seen on Asynchronous pipe communications refers to the server side and I know that a ReadFile operation has an overlapped option, however this does not necessarily mean that this will work for named pipes because ReadFile has many uses.

Could someone advise please?

user5265160
  • 409
  • 1
  • 8
  • 19
  • of course client also can use asynchronous I/O. ReadFile support asynchronous I/O with for iocp and event . ReadFileEx - for apc. NtReadFile for all – RbMm Feb 05 '22 at 14:53
  • Thanks. I got this working. I just wasn't sure because I couldn't find any examples, or mention of asynchronous named pipe clients. – user5265160 Feb 09 '22 at 11:53
  • No any difference between client and server here. Both can use synchronous or asynchronous io from self side. – RbMm Feb 09 '22 at 12:12

0 Answers0