iocp Questions
7
Solved
Using winsock, you can configure sockets or seperate I/O operations to "overlap". This means that calls to perform I/O are returned immediately, while the actual operations are completed asynchrono...
Peavy asked 8/5, 2010 at 15:1
2
Solved
The .NET / .NET Core Thread Pool uses two different categories of threads internally: worker threads and I/O Completion Port (IOCP) threads. Both are just usual managed threads, but used for differ...
Zora asked 23/9, 2019 at 7:44
4
Solved
Let's say I have Windows 7 with one real network interface and few loopback interfaces.
I have IOCP enabled server that accepts connections from clients.
I'm trying to simulate as much as possible ...
Direct asked 28/2, 2012 at 18:25
8
Solved
I am aware of Indy, ICS, Synapse and Clever InetSuite, none of which support IOCP. Is there anything else out there?
Edit:
I found iocpclasses , It's written in Delphi5. Better than nothing I supp...
1
Solved
I have a weird situation on a production server.
We have network application written on C++ which serves users requests by TCP written using IOCP.
Two days ago we did an update of Windows 2012 R2...
Evite asked 16/7, 2018 at 10:35
4
Solved
I am looking to write a server application in C++ that is meant to handle tens of thousands of clients simultaneously. It should run under Windows and Linux. I have been looking around for framewor...
Bowie asked 15/7, 2011 at 0:15
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
4
Solved
The CreateIoCompletionPort function allows the creation of a new I/O completion port and the registration of file handles to an existing I/O completion port.
Then, I can use any function, like a r...
1
Solved
I have called WSARecv() which returned WSA_IO_PENDING. I have then sent an RST packet from the other end. The GetQueuedCompletionStatus() function which exists in another thread has returned FALSE ...
2
Solved
WSASend() will return immediately whether the data will be sent or not. But how to make sure that data will be sent, for example I have a button in my UI that will send "Hello World!" when pressed....
4
Solved
After reading this article which states :
After a device finishes its job , (IO operation)- it notifies the CPU
via interrupt.
... ... ...
However, that “completion” status only
exist...
Isolated asked 24/2, 2015 at 8:6
1
When using IOCP, if I call WSASend() with let's say 2 KB of data. When I receive a completion notification, will this completion notification indicate that the entire 2 KB were sent, or there could...
Semidiurnal asked 23/2, 2015 at 14:16
3
Solved
I am writing a simple test ICOP client and server to ensure I am using the API correctly and that the data the client sending is being received correctly by the server. I have included all the code...
2
Solved
I’ve been working on an TCP/IP IOCP server application.
I’ve been testing performance (which seems in line with TCP throughput testing utilities) and now have been testing data integrity – this is...
1
Solved
I am writing a https server. I have created csr and signed it using my root certificate for a test domain. When a client connects, SSL_accept() is done successfully. I am using Non- Blocking IO. So...
1
Solved
I'm using the GetQueuedCompletionStatusEx() api, and I've just realized that it
can indeed read N OVERLAPPEDs packets in just 1 syscall, instead of only 1 OVERLAPPED, like GetQueuedCompletionStatus...
7
Solved
I'm pretty familiar with what Input/Output Completion Ports are for when it comes to TCP.
But what, if I am for example coding a FPS game, or anything where need for low latency can be a deal bre...
Griskin asked 6/7, 2012 at 11:19
2
Update
I asked the wrong question, rephrased (based on the great info on answers and comments):
Is there any good source on .net's async operations being real async, thus either IOCP or async(overl...
Euphorbiaceous asked 29/1, 2014 at 18:21
6
I poll a lot of devices in network (more than 300) by iterative ping.
The program polls the devices sequentially, so it's slow.
I'd like to enhance the speed of polling.
There some ways to do thi...
Hydroplane asked 3/2, 2011 at 13:27
2
I need to add timers support in an application based on I/O Completion Ports (IOCP). I would like to avoid the use of a specific thread to manage timers.
On Linux, you can create a timer that deli...
Dido asked 13/7, 2010 at 16:11
3
Solved
I'm writing a tcp server in Windows NT using completion ports to exploit asynchronous I/O.
I have a TcpSocket class, a TcpServer class and some (virtual functions) callbacks to call when an I...
Dorri asked 24/1, 2013 at 10:53
1
Solved
My app stop working after switching to windows 8. I spend hours to debug the problem, found out IOCP behave differently between windows 8 and previous versions. I extract the necessary code to demo...
1
Solved
According to MSDN:
hEvent: If an overlapped I/O operation is issued without an I/O
completion routine (the operation's lpCompletionRoutine parameter is
set to null), then this parameter should...
1
I have a very strange situation.
I'm running IOCP Server Program programmed by Visual studio 2010 in C++.
It uses 'minidump', so When there is a logical bug like pointer misuse, Program crashes wi...
6
1 Next >
© 2022 - 2024 — McMap. All rights reserved.