Solved

I/O Compleiton Ports

Posted on 2003-11-19
3
190 Views
Last Modified: 2010-04-01
Can anybody tell me how these are used? Pretty confused about them.

Some sample code would be great.
Thanks in advance.....
0
Comment
Question by:sArunima
3 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 125 total points
ID: 9785265
I learned IOCP by this sample:

http://www.codeproject.com/internet/winsockiocp.asp

Using IOCP means that you associate some I/O operations (file, socket...) with completion port. Now any I/O operation (ReadFile, send, recv...) returns immidiately, and program waits for it's actual completion on completion port. All IOCP sample are complicated, but you need to spend your time and understand one of them.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cross compile release version of c++ program for linux 2 138
Would like to move button in a function 3 83
C++ to C# code conversion issue 4 117
c++ syntax question 9 57
When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question