Hi,
I start a named pipe in a server process:
pipe = CreateNamedPipe("\\\\.\\pipe\\Test", PIPE_ACCESS_DUPLEX | FILE_FLAG_WRITE_THROUGH, PIPE_TYPE_BYTE, PIPE_UNLIMITED_INSTANCES, 1000, 1000, 3000, NULL);
and use it in a client with:
pipe = CreateFile( "\\\\.\\pipe\\Test", GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL);
WriteFile(pipe, buffer, 7, (DWORD*)&y, NULL);
CloseHandle(pipe);
I receive the data on the server side but the problem is that i cannot open the pipe from the client again. I always get an error.
Is there something that I am missing ?
I really appreciate any help on this.
