Click here to Skip to main content
15,900,426 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow do you fix code that works on everything but the listview you need? Pin
___Charles___26-Jan-07 17:41
___Charles___26-Jan-07 17:41 
AnswerRe: How do you fix code that works on everything but the listview you need? Pin
Mike O'Neill27-Jan-07 12:53
Mike O'Neill27-Jan-07 12:53 
QuestionInvoke another exe from currently running exe Pin
kiranin26-Jan-07 17:36
kiranin26-Jan-07 17:36 
AnswerRe: Invoke another exe from currently running exe Pin
ThatsAlok26-Jan-07 19:32
ThatsAlok26-Jan-07 19:32 
QuestionCOM in VC++ Pin
deeps_cute26-Jan-07 17:02
deeps_cute26-Jan-07 17:02 
QuestionVisual C++ MFC WinSock 2 Reference Pin
Obi Wan 226-Jan-07 13:50
Obi Wan 226-Jan-07 13:50 
AnswerRe: Visual C++ MFC WinSock 2 Reference Pin
Mark Salsbery26-Jan-07 14:03
Mark Salsbery26-Jan-07 14:03 
GeneralRe: Visual C++ MFC WinSock 2 Reference Pin
Obi Wan 227-Jan-07 4:47
Obi Wan 227-Jan-07 4:47 
Mark:

Thank you.

Yes, it helped quite a bit in that it confirmed my suspicions about CSocket and CAsyncSocket...and IOCP.

May I elicit a few more comments from you?

o In your example, 1000 threads serving 1000 connections makes a strong case for thread pooling (IOCP). It would be equally pointless to inherit the overhead of thread pooling for a single connection. Where do you see the break-even point? 10? 100? I know there can be no precise answer; it depends on many things, like processsor speeds, HyperThreading, Dual-core, multi processors, etc.

o Overlap, asynchronous and non-blocking kind of address the same issue--that being performance. What is the case to be made for each technique? Other than the thread pooling issue, is there a performance benefit over using non-blocking sockets and periodically polling them?

o What can you tell me about select, WSAAsyncSelect, etc.? I've had very limited success with these. It seems I need to make repeated calls to get the status, but when I read about things like WSAAsyncSelect I get the impression that the message is sent without having to poll for it.

-Obi Wan 2

GeneralRe: Visual C++ MFC WinSock 2 Reference Pin
Mark Salsbery27-Jan-07 7:30
Mark Salsbery27-Jan-07 7:30 
QuestionCListView; getting rid of spurious horizontal scrollbar [modified] Pin
Joe Woodbury26-Jan-07 12:34
professionalJoe Woodbury26-Jan-07 12:34 
AnswerRe: CListView; getting rid of spurious horizontal scrollbar Pin
Ravi Bhavnani26-Jan-07 12:59
professionalRavi Bhavnani26-Jan-07 12:59 
GeneralRe: CListView; getting rid of spurious horizontal scrollbar Pin
Joe Woodbury26-Jan-07 13:06
professionalJoe Woodbury26-Jan-07 13:06 
GeneralRe: CListView; getting rid of spurious horizontal scrollbar Pin
Ravi Bhavnani26-Jan-07 13:09
professionalRavi Bhavnani26-Jan-07 13:09 
GeneralRe: CListView; getting rid of spurious horizontal scrollbar Pin
Joe Woodbury26-Jan-07 13:23
professionalJoe Woodbury26-Jan-07 13:23 
GeneralRe: CListView; getting rid of spurious horizontal scrollbar Pin
Ravi Bhavnani26-Jan-07 13:27
professionalRavi Bhavnani26-Jan-07 13:27 
AnswerRe: CListView; getting rid of spurious horizontal scrollbar Pin
Mark Salsbery26-Jan-07 13:54
Mark Salsbery26-Jan-07 13:54 
GeneralRe: CListView; getting rid of spurious horizontal scrollbar Pin
Joe Woodbury26-Jan-07 15:12
professionalJoe Woodbury26-Jan-07 15:12 
GeneralRe: CListView; getting rid of spurious horizontal scrollbar Pin
Mark Salsbery26-Jan-07 16:27
Mark Salsbery26-Jan-07 16:27 
GeneralRe: CListView; getting rid of spurious horizontal scrollbar Pin
Joe Woodbury27-Jan-07 11:34
professionalJoe Woodbury27-Jan-07 11:34 
GeneralRe: CListView; getting rid of spurious horizontal scrollbar Pin
Mark Salsbery27-Jan-07 11:42
Mark Salsbery27-Jan-07 11:42 
GeneralRe: CListView; getting rid of spurious horizontal scrollbar Pin
Joe Woodbury27-Jan-07 12:24
professionalJoe Woodbury27-Jan-07 12:24 
GeneralRe: CListView; getting rid of spurious horizontal scrollbar Pin
Mark Salsbery27-Jan-07 11:49
Mark Salsbery27-Jan-07 11:49 
GeneralRe: CListView; getting rid of spurious horizontal scrollbar Pin
Joe Woodbury27-Jan-07 12:32
professionalJoe Woodbury27-Jan-07 12:32 
GeneralRe: CListView; getting rid of spurious horizontal scrollbar Pin
Joe Woodbury27-Jan-07 13:01
professionalJoe Woodbury27-Jan-07 13:01 
GeneralRe: CListView; getting rid of spurious horizontal scrollbar Pin
Mark Salsbery27-Jan-07 15:35
Mark Salsbery27-Jan-07 15:35 

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.