Solved

I/O Compleiton Ports

Posted on 2003-11-19
3
186 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

757 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now