I want to use ReadFile() (overlapped) on a named pipe in message mode in combination with an I/O completion port. So, I have multiple threads waiting ...
I want to use ReadFile() (overlapped) on a named pipe in message mode in combination with an I/O completion port. So, I have multiple threads waiting ...
Let's say you're doing an asynchronous operation (like ReadDirectoryChangesW) using I/O completion ports. And for each call to the function, you alloc ...
First time using IO Completion Ports. I'm having an issue where the GetQueuedCompletionStatus returns a Null for the Completion Key, which I am using ...
I have a windows wcf web application and in the service side, we create stateful sessions. When the number of sessions exceed a certain threshold, new ...
I'm using IOCP on Windows. Previously I used method GetQueuedCompletionStatus to poll the queue and everything was fine. But when I decided to refacto ...
I'm trying to write an IPC with named pipe. The server code : http://pastebin.com/tHyAv0e0 The client code : http://pastebin.com/Qd0yGBca My questi ...
If FILE_SKIP_COMPLETION_PORT_ON_SUCCESS is set on a file handle that is bound to an I/O completion port, then an OVERLAPPED structure needs to be deal ...
What i want to do is the fallowing: So i have 4 threads. and for each thread i create an IOCP. inside the thread function i wait on GetQueuedCompletio ...
Today I learned that I can call CreateIoCompletionPort() and then pass the returned HANDLE to WaitForSingleObject(): It is working as expected on m ...
Using TCP in IO completion ports from a server, if I make two consecutive WSASend in the same socket, the first sends "ABC" and the second sends "DEF" ...
I don't have this clear, I read somewhere that GetQueuedCompletionStatus will return WSARecv and WSASend results in the order they were created, so he ...
I have a simple named pipe server implemented in python+ctypes: It receives data from external program. I expect that GetQueuedCompletionStatus wil ...
I have some doubts in regards of IO Completion Port as well as AcceptEx in winsock2 Please correct me if i am wrong. AcceptEx is an overlapped wa ...
I have hand-made thread pool. Threads read from completion port and do some other stuff. One particular thread has to be ended. How to interrupt it's ...
I am trying to use GetQueuedCompletionStatus with winsocks, but I can't seem to get it right. The procedure is as follows: I then send some network ...
Based on numerous books and blogs including this excellent one here, it is clear that when one writes a dll library exposing helper async methods i.e. ...
Let me prefix this by saying that I've never used I/O Completion Ports, though I've heard of them for years now. My background is primarily with selec ...
I get the following exception on application startup: That's the entire call stack. It only happens one in twenty runs right on application startup ...
Suppose I want to implement a method that loads a file asynchronously and returns some task with the file's content as its result. In .NET, I could sa ...
If FILE_SKIP_COMPLETION_PORT_ON_SUCCESS is not enabled, then even if the operation completes immediately with success, I still get a completion notifi ...