Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 196
  • Last Modified:

I/O Compleiton Ports

Can anybody tell me how these are used? Pretty confused about them.

Some sample code would be great.
Thanks in advance.....
0
sArunima
Asked:
sArunima
1 Solution
 
AlexFMCommented:
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now