Click here to Skip to main content
15,912,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: BitMap button Pin
only coder13-Nov-07 19:36
only coder13-Nov-07 19:36 
GeneralRe: BitMap button Pin
Anu_Bala13-Nov-07 20:15
Anu_Bala13-Nov-07 20:15 
AnswerRe: BitMap button Pin
Amar Sutar13-Nov-07 19:40
Amar Sutar13-Nov-07 19:40 
AnswerRe: BitMap button Pin
David Crow14-Nov-07 3:42
David Crow14-Nov-07 3:42 
QuestionPosting Message to another Application Window Pin
Sethuraman.K13-Nov-07 18:09
Sethuraman.K13-Nov-07 18:09 
AnswerRe: Posting Message to another Application Window Pin
Hamid_RT13-Nov-07 18:16
Hamid_RT13-Nov-07 18:16 
GeneralRe: Posting Message to another Application Window Pin
Sethuraman.K13-Nov-07 18:23
Sethuraman.K13-Nov-07 18:23 
GeneralRe: Posting Message to another Application Window Pin
Hamid_RT13-Nov-07 18:48
Hamid_RT13-Nov-07 18:48 
AnswerRe: Posting Message to another Application Window Pin
only coder13-Nov-07 18:46
only coder13-Nov-07 18:46 
AnswerRe: Posting Message to another Application Window Pin
Naveen13-Nov-07 18:52
Naveen13-Nov-07 18:52 
QuestionAPI used to files name inside a folder Pin
neha.agarwal2713-Nov-07 18:03
neha.agarwal2713-Nov-07 18:03 
AnswerRe: API used to files name inside a folder Pin
manish.patel13-Nov-07 18:09
manish.patel13-Nov-07 18:09 
AnswerRe: API used to files name inside a folder Pin
Amar Sutar13-Nov-07 18:11
Amar Sutar13-Nov-07 18:11 
GeneralRe: API used to files name inside a folder Pin
Paresh Chitte13-Nov-07 18:19
Paresh Chitte13-Nov-07 18:19 
AnswerRe: API used to files name inside a folder Pin
Hamid_RT13-Nov-07 18:11
Hamid_RT13-Nov-07 18:11 
AnswerRe: API used to files name inside a folder Pin
Sethuraman.K13-Nov-07 18:19
Sethuraman.K13-Nov-07 18:19 
QuestionAbout Memory utilization Pin
manish.patel13-Nov-07 17:14
manish.patel13-Nov-07 17:14 
AnswerRe: About Memory utilization Pin
Peter Weyzen13-Nov-07 22:20
Peter Weyzen13-Nov-07 22:20 
This isn't a problem we can solve for you. It seems obvious that you're not shutting down your thread and it's related data when the connection is terminated.

What are you doing when the connection is terminated?


But, I'll add another comment unrelated to your question. People often think that creating a thread for each connection is a good thing. It's OK if you want to handle a few connections... But if you want actual performance, you should find a way of aggregating your many connections to a small pool of threads....

The best performance for this -- is something called I/O completion. It's a method which let's you treat network communications as events. It's not simple, but it will maximize your performance in a server. You can handle a few hundred connections with just a few threads....

Though, one more thought. Servers based on windows suck....

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<A HREF="http://www.soonr.com">SoonR Inc -- PC Power delivered to your phone</A>

GeneralRe: About Memory utilization Pin
manish.patel13-Nov-07 23:46
manish.patel13-Nov-07 23:46 
GeneralRe: About Memory utilization Pin
Mark Salsbery14-Nov-07 7:55
Mark Salsbery14-Nov-07 7:55 
GeneralRe: About Memory utilization Pin
manish.patel13-Nov-07 23:52
manish.patel13-Nov-07 23:52 
GeneralRe: About Memory utilization Pin
Peter Weyzen14-Nov-07 18:18
Peter Weyzen14-Nov-07 18:18 
QuestionADO, how to group by record count, and get the first of every group Pin
followait13-Nov-07 16:05
followait13-Nov-07 16:05 
Questioncode to walk down all a program's windows Pin
Lowell Boggs13-Nov-07 12:28
Lowell Boggs13-Nov-07 12:28 
AnswerRe: code to walk down all a program's windows Pin
User 58385213-Nov-07 15:35
User 58385213-Nov-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.