A socket may be associated with a completion port at any point after creation.
而套接字在被创建后,可以在任何时候与某个完成端口进行关联。
Any overlapped operations performed on the socket will use the completion port for notification.
在这个套接字上进行的任何重叠操作都将通过完成端口发出完成通知。
Once the completion port has been created and sockets have been associated with it, one or more threads are needed to process the completion notifications.
在创建了完成端口、将一个或多个套接字与之相关联之后,我们就要创建若干个线程来处理完成通知。
The most important property of a completion port is the concurrency value.
完成端口最重要的特性就是并发量。
The concurrency value of a completion port is specified when the completion port is created.
完成端口的并发量可以在创建该完成端口时指定。
The CreateIoCompletionPort function associates an I/O completion port with one or more file handles.
CreateIoCompletionPort函数会使一个I/O完成端口与一个或多个文件句柄发生关联。
The PostQueuedCompletionStatus function allows an application to queue its own special-purpose I/O completion packets to the completion port without starting an asynchronous I/O operation.
PostQueuedCompletionStatus函数允许应用程序可以针对自定义的专用I/O完成包进行排队,而无需启动一个异步I/O操作。
The PostQueuedCompletionStatus function allows an application to queue its own special-purpose I/O completion packets to the completion port without starting an asynchronous I/O operation.
PostQueuedCompletionStatus函数允许应用程序可以针对自定义的专用I/O完成包进行排队,而无需启动一个异步I/O操作。
应用推荐