io-completion-ports Questions
3
Solved
I'm pulling my hair trying to figure out when a serial port finishes closing so I can reopen it. It turns out that CloseHandle() returns before the port is actually unlocked.
I am opening a serial...
Hadsall asked 16/1, 2012 at 20:16
2
Solved
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. the wrapper methods, it is generally considere...
Murvyn asked 28/2, 2015 at 0:3
1
Solved
One of the reasons why it is important to use asynchronous programming when our application relies on external services, is to allow ASP.NET the use of IO completion ports, so rather than block a t...
Fallon asked 28/1, 2014 at 15:40
1
Solved
What's the difference between using I/O completion ports, versus just using RegisterWaitForSingleObject to have a thread pool thread wait for I/O to complete?
Is one of them faster, and if so, why...
Gabon asked 26/4, 2013 at 18:46
1
I'm writing a message layer for my distributed system. I'm using IOCP, ie the Socket.XXXAsync methods.
Here's something pretty close to what I'm doing (in fact, my receive function is based on his...
Berthoud asked 31/5, 2012 at 15:15
3
My question is to settle an argument with my co-workers on C++ vs C#.
We have implemented a server that receives a large amount of UDP streams. This server was developed in C++ using asynchronous ...
Brittanybritte asked 11/12, 2011 at 16:38
0
Remark from MSDN about CompletionKey in CreateIoCompletionPort function:
Use the CompletionKey parameter to help your application track which
I/O operations have completed. This value is not us...
Prisca asked 15/10, 2011 at 18:3
1
Could someone explain what the difference is between epoll, poll and threadpool?
What are the pros / cons?
Any suggestions for frameworks?
Any suggestions for simple/basic tutorials?
It seems tha...
Joiejoin asked 4/11, 2010 at 1:37
2
Problem
I am using boost::asio for a project where two processes on the same machine communicate using TCP/IP. One generates data to be read by the other, but I am encountering a problem where int...
Grandiose asked 10/2, 2011 at 11:25
3
Solved
I'm working on an application that requires for one type of message to go hit a database, and the other type of message to go and hit some external xml api.
I have to process A LOT... one of the b...
Syllabic asked 24/1, 2011 at 7:24
6
Solved
I'm wondering which approach is faster and why ?
While writing a Win32 server I have read a lot about the Completion Ports and the Overlapped I/O, but I have not read anything to suggest which set...
Thrill asked 15/4, 2009 at 22:52
1
© 2022 - 2024 — McMap. All rights reserved.