-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Whenever I try to create an Async Pipe, my program hangs on ::ConnectNamedPipe, and I'm unable to continue execution. Even if I connect a client to it, it won't continue execution.
CreateInstance(PIPE_ASYNC, &Pipe);
Pipe->Create("\\\\.\\pipe\\NetDuke32", PIPE_SERVER, &Pipe_Callback);
In bool NamedPipeImpl::CreatePipeServer(const char* pipe_name), it Seems the second parameter of ConnectNamedPipe is NULL, when it probably should be pointing to an OVERLAPPED struct.
if (!::ConnectNamedPipe(pipe_handle_, NULL))If that can't be accomplished, perhaps create the new thread before establishing the connection, rather than after?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels