Click here to Skip to main content
15,914,350 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Diff. between DestroyWindow() and EndDialog() Pin
Mark Salsbery24-Jul-07 5:19
Mark Salsbery24-Jul-07 5:19 
GeneralRe: Diff. between DestroyWindow() and EndDialog() Pin
Abhijeet Pathak24-Jul-07 6:20
Abhijeet Pathak24-Jul-07 6:20 
GeneralRe: Diff. between DestroyWindow() and EndDialog() Pin
Mark Salsbery24-Jul-07 6:23
Mark Salsbery24-Jul-07 6:23 
QuestionWindows Media Encoder Pin
Chikanok23-Jul-07 23:04
Chikanok23-Jul-07 23:04 
QuestionHow to get press enter key message from combobox control? Pin
hanlei000000000923-Jul-07 22:21
hanlei000000000923-Jul-07 22:21 
AnswerRe: How to get press enter key message from combobox control? Pin
Rajkumar R23-Jul-07 22:56
Rajkumar R23-Jul-07 22:56 
QuestionOverlapped I/O with I/O Completion Ports Pin
Zerox MXI23-Jul-07 22:14
Zerox MXI23-Jul-07 22:14 
AnswerRe: Overlapped I/O with I/O Completion Ports Pin
Mark Salsbery24-Jul-07 5:37
Mark Salsbery24-Jul-07 5:37 
It seems like you're mixing terminology.

You should only need one I/O completion port. How many threads you have in the pool to handle
completion events is an issue though. I personally use a separate thread for listening because
it made it easier (or maybe even possible, I can't remember the details) to do conditional
accepts. For processing overlapped ops on the I/O completion port, you typically want at least
one thread per processor. There is some additional benefit to having more threads in the pool.

You may have seen these articles already, but I bookmarked them because they helped me alot...

Design Issues When Using IOCP in a Winsock Server[^]
Windows Sockets 2.0: Write Scalable Winsock Apps Using Completion Ports[^]
Writing Windows NT Server Applications in MFC Using I/O Completion Ports[^]

Mark


Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Overlapped I/O with I/O Completion Ports Pin
Zerox MXI25-Jul-07 16:17
Zerox MXI25-Jul-07 16:17 
Questionzooming progam for dialog window Pin
Rokini23-Jul-07 22:11
Rokini23-Jul-07 22:11 
AnswerRe: zooming progam for dialog window Pin
Arman S.24-Jul-07 1:58
Arman S.24-Jul-07 1:58 
QuestionRe: zooming progam for dialog window Pin
David Crow24-Jul-07 3:26
David Crow24-Jul-07 3:26 
AnswerRe: zooming progam for dialog window Pin
Rokini24-Jul-07 18:48
Rokini24-Jul-07 18:48 
AnswerRe: zooming progam for dialog window Pin
Rokini24-Jul-07 18:58
Rokini24-Jul-07 18:58 
QuestionA Question about lib files Pin
mt_samiei23-Jul-07 21:34
mt_samiei23-Jul-07 21:34 
AnswerRe: A Question about lib files Pin
Jonathan [Darka]23-Jul-07 21:42
professionalJonathan [Darka]23-Jul-07 21:42 
GeneralRe: A Question about lib files Pin
mt_samiei23-Jul-07 21:54
mt_samiei23-Jul-07 21:54 
GeneralRe: A Question about lib files Pin
Jonathan [Darka]23-Jul-07 22:09
professionalJonathan [Darka]23-Jul-07 22:09 
GeneralRe: A Question about lib files Pin
mt_samiei23-Jul-07 22:13
mt_samiei23-Jul-07 22:13 
AnswerRe: A Question about lib files Pin
Rajkumar R23-Jul-07 22:30
Rajkumar R23-Jul-07 22:30 
GeneralRe: A Question about lib files Pin
mt_samiei23-Jul-07 22:36
mt_samiei23-Jul-07 22:36 
AnswerRe: A Question about lib files Pin
Rajkumar R23-Jul-07 22:43
Rajkumar R23-Jul-07 22:43 
GeneralRe: A Question about lib files Pin
mt_samiei23-Jul-07 22:48
mt_samiei23-Jul-07 22:48 
AnswerRe: A Question about lib files Pin
Md. Ali Naser Khan24-Jul-07 0:23
Md. Ali Naser Khan24-Jul-07 0:23 
QuestionTooltip for disabled control Pin
Hans Dietrich23-Jul-07 21:17
mentorHans Dietrich23-Jul-07 21:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.