I recently wrote an HttProxy based on the completion port under Windows. Prepare to put it when you have time
SOCKS is also plus. Summarized as follows:
1. Completion port is a Windows kernel object, drawing on ThreadPool practices.
Of course, the implementation of Windows is unknown.
2. Because it is within the kernel level management. Efficiency is higher than the standard writing of BSD Sockset:
That is, it is constant SELECT and then processes data.
Please download here: http://hotlog.spymac.net
Compilation under VC2003 / Win2000