diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-03-24 21:53:01 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-03-24 21:53:01 +0000 |
commit | 96070af8205f85db802a7aed81979e7f2cf92d29 (patch) | |
tree | bd4325bc8509e0119d17c968c3cb6c792f75a81c /lib | |
parent | 9a5063929192a9f47cc72420b8b33c85e3ec3627 (diff) |
Change named pipe from message to byte mode. Thanks to Charles Lecklider
for pointing this out.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/server/WinNamedPipeStream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/server/WinNamedPipeStream.cpp b/lib/server/WinNamedPipeStream.cpp index 34263683..7d372517 100644 --- a/lib/server/WinNamedPipeStream.cpp +++ b/lib/server/WinNamedPipeStream.cpp @@ -89,8 +89,8 @@ void WinNamedPipeStream::Accept(const wchar_t* pName) pName, // pipe name PIPE_ACCESS_DUPLEX | // read/write access FILE_FLAG_OVERLAPPED, // enabled overlapped I/O - PIPE_TYPE_MESSAGE | // message type pipe - PIPE_READMODE_MESSAGE | // message-read mode + PIPE_TYPE_BYTE | // message type pipe + PIPE_READMODE_BYTE | // message-read mode PIPE_WAIT, // blocking mode 1, // max. instances 4096, // output buffer size |