Winsock & I/O Completion Ports - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Tech Talk (/forumdisplay.php?fid=17) +----- Thread: Winsock & I/O Completion Ports (/showthread.php?tid=82438) Winsock & I/O Completion Ports by andrewdodd13 on 03-18-2008 at 02:40 PM
I've got some (read: a lot) of code that I'm kind of in a muddle over. Basically, it's a server program which is designed to handle lots of concurrent connections which uses Winsock2 and I/O Completion Ports. code: Basically, as you can probably see from the comment, the IO operation is still pending, but I don't know what to do! I tried putting break; here, but then we never get this item from the Completion Queue again. I can't act on the p_wbuf buffer until I know I have the correct data. Anyone know what to do? Help would be much appreciated. |