We are porting existing windows code to Linux. We are using ACE as abstraction layer. We are using windows named pipes f开发者_StackOverflow社区or communicating with multiple clients and to perform ov
The program runs fine for a few minutes and then ReadFile starts failing with error code ERROR_WORKING_SET_QUOTA.
I hit a bug in my code which uses WSARecv and WSAGetOverlapped result on an overlapped socket. Under heavy load, WSAGetOverlapped returns with WSASYSCALLFAILURE (\'A system call that should never fail
When asynchronous I/O (or "overlapped" I/O in Win32 jargon) is used, we need to deal with the OVERLAPPED structure and开发者_开发知识库 his hEvent member. If the I/O function will delay the
Most of my daily programming work in Windows is nowadays around I/O operations of all kind (pipes, consoles, files, sockets, ...). I am well aware of different methods of reading and writing from/to d
The MSDN states in its description of ReadFile() function: If hFile is opened with FILE_FLAG_OVERLAPPED, the lpOverlapped paramete开发者_运维技巧r must point to a valid and unique OVERLAPPED structu
I have a C dll that I\'m wrapping so that I can call it from C#. One function uses events to notify you when a state has changed, and figuring out to deal with it took some digging. It seems to be wor
I need to find a way to be notified when a System.IO.Pipe.NamedPipeServerStream opened in asynchronous mode has more data available for reading on it- a WaitHandle would be ideal. I cannot simply use