iocp
IOCP C++ TCP client
I am having some trouble implementing TCP IOCP client. I have implemented kqueue on Mac OSX so was looking to do something similar on windows and my understanding is that IOCP is the closest thing. Th[详细]
2023-02-27 05:36 分类:问答What's the maximum connects can IOCP accept and hold
I do some IOCP Server and Client test. The IOCP Server accept the clients\' connects and do nothing but recv datapackets from clients.[详细]
2023-02-19 09:28 分类:问答I/O completion port's advantages and disadvantages
Why do many people say I/O completion port is a fast and nice model? What are the I/O completion port\'s advantages and disadvantages?[详细]
2023-02-16 05:00 分类:问答What's the best way to ping many network devices in parallel?
I poll a lot of devices in network (more than 300) by iterative ping. The program polls the devices sequentially, so it\'s slow.[详细]
2023-02-08 13:31 分类:问答TCP IOCP won't receive after acceptex
I\'m trying to write an IOCP server. Basically, I have it accepting new connections. For the purpose of my testing, I\'m running and connecting to 127.0.0.1.[详细]
2023-01-31 12:14 分类:问答Easiest way to add SSL to a IOCP based windows server?
I have a IOCP based server which we have used forlong time. Now we need to add SSL support to this. I am struggling to find a clean solution. I have found two options suggested in the other two thread[详细]
2023-01-31 11:26 分类:问答Choosing a IPC solution for an event-driven application
I am currently working on a rather large single-threaded, event-based,application designed around epoll under Linux and comparable technologies under other platforms. Currently, whenever we wish two i[详细]
2023-01-28 20:51 分类:问答IOCP with task scheduler (Threaded Building Blocks)
I\'m using TBB and was wondering how I could use IOCP with its task scheduler. Has anyone done this? If so, some details would be greatly appreciated.[详细]
2023-01-28 14:04 分类:问答How to pass user-defined data to a worker thread using IOCP?
Hey... I created a small test server using I/O completion ports and winsock. I can successfully connect and associate a socket handle with the completion port.[详细]
2023-01-28 12:23 分类:问答How to find out when CancelIo() is done?
CancelIo() is supposed to cancel all pending I/O operations associated with the calling thread. In my experience, CancelIo() sometimes cancels future I/O operations as well. Given:[详细]
2023-01-19 15:29 分类:问答