Writing IOCP Winsock Application

I have at least 1 month trying to figure out how write a simple Application using IOCP, and I don't get it! I readed a lot of sites but no one of them showme how write a simple server.
If someone could be so nice of write a Complete (with exceptions, etc) but simple server using IOCP i'll be very gratefully.

Pd: Native C++ please, no .NET

Thanks in advance!

[369 byte] By [ArtCoder] at [2008-2-16]
# 1
Try this... it's a very simple IOCP server. Look at iocps.cpp and iocps.h, they are the main engine that runs the entire program.
It's stable and no .NET
should take you around 3-5 days to digest.

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

Cheers,

wsteck at 2007-9-4 > top of Msdn Tech,Windows Networking Development,Winsock Kernel (WSK)...
# 2

have you installed Platform SDK? it contains many sample applications, and IOCP server application also. see the following directory, if you already installed Platform SDK.

{Platform SDK Installed Directory}\Samples\NetDS\WinSock\iocp

or, if you have not, i think it is better for you to install Platform SDK. you can find it the following URI.

http://www.microsoft.com/downloads/details.aspx?FamilyId=0BAF2B35-C656-4969-ACE8-E4C0C0716ADB&displaylang=en

i hope Platform SDK's samples are very good teacher for you.
thanks.

Yeonwoon at 2007-9-4 > top of Msdn Tech,Windows Networking Development,Winsock Kernel (WSK)...