I have question about named pipes in windows.
Client pipe app should call
WaitNamedPipe and this function waits for named pipe.
Next app calls CreateFile.
I need different solution for waiting for pipe ( if exists).
I need event created by CreateEvent and when event is set it means that named pipe exists and its ready.
Iam trying add named pipes to boost:asio and there is no problem with server named pipe
becouse server call ConnectNamedPipe and waits for client. Then i get LPOVERLAPPED that asio need.
BOOL WINAPI ConnectNamedPipe(
__in HANDLE hNamedPipe,
__inout_opt LPOVERLAPPED lpOverlapped