Are there any library to work with I / O Completion Ports ? Looking at the assembly, but may have written in C + + ,thanks!
If you are talking about I/O hardware port, well you will not able to use it on XP or above, and you will need to make a driver.
For I/O port you only need in and out instruction
I'm not sure what kind of functions you would want an IOCP library to provide. Basically, you just create it with one call (CreateIoCompletionPort) and then have your threads wait on it with another (GetQueuedCompletionStatus). The hard part is designing the rest of the code to be more general, so that any worker thread can handle reqeuests to or from any client (instead of one dedicated thread per client).
Also, @Farabi, IO completion ports != IO hardware ports.
-r