Click here to Skip to main content
15,898,996 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Remote path validation Pin
David Crow4-Oct-06 3:16
David Crow4-Oct-06 3:16 
GeneralRe: Remote path validation Pin
Gokul_md4-Oct-06 3:33
Gokul_md4-Oct-06 3:33 
QuestionRe: Remote path validation Pin
David Crow4-Oct-06 3:39
David Crow4-Oct-06 3:39 
GeneralRe: Remote path validation Pin
ThatsAlok4-Oct-06 8:00
ThatsAlok4-Oct-06 8:00 
QuestionThread safety/design patterns Pin
naen4-Oct-06 3:04
naen4-Oct-06 3:04 
AnswerRe: Thread safety/design patterns Pin
Shog94-Oct-06 4:47
sitebuilderShog94-Oct-06 4:47 
AnswerRe: Thread safety/design patterns Pin
Mark Salsbery4-Oct-06 9:31
Mark Salsbery4-Oct-06 9:31 
AnswerRe: Thread safety/design patterns Pin
Moak9-Oct-06 2:19
Moak9-Oct-06 2:19 
You do not necessarily need to use a multi threaded approach with your server.

If locking and inter-thread-communication becomes a burden try a software architecture where socket connections are handled in one single thread context. When all sockets are running in the same thread context there is no need for locking shared data structures anymore. There are a couple of Unix web servers which follow this architecture (e.g. thttpd, mathopd), for Windows try the MFC class CAsyncSocket.

Hope this helps, feel free to brainstorm more... Smile | :)

Questionfirst TrackPopupMenu,then how to response right button click on the menu? Pin
31415926534-Oct-06 2:16
31415926534-Oct-06 2:16 
AnswerRe: first TrackPopupMenu,then how to response right button click on the menu? Pin
ShilpiP4-Oct-06 2:27
ShilpiP4-Oct-06 2:27 
GeneralRe: first TrackPopupMenu,then how to response right button click on the menu? Pin
31415926534-Oct-06 2:34
31415926534-Oct-06 2:34 
GeneralRe: first TrackPopupMenu,then how to response right button click on the menu? Pin
ShilpiP4-Oct-06 3:00
ShilpiP4-Oct-06 3:00 
GeneralRe: first TrackPopupMenu,then how to response right button click on the menu? Pin
ThatsAlok4-Oct-06 19:51
ThatsAlok4-Oct-06 19:51 
AnswerRe: first TrackPopupMenu,then how to response right button click on the menu? Pin
toxcct4-Oct-06 2:31
toxcct4-Oct-06 2:31 
QuestionPrinting Pin
kk.tvm4-Oct-06 1:58
kk.tvm4-Oct-06 1:58 
AnswerRe: Printing Pin
Hamid_RT4-Oct-06 2:04
Hamid_RT4-Oct-06 2:04 
AnswerRe: Printing Pin
Ștefan-Mihai MOGA4-Oct-06 2:33
professionalȘtefan-Mihai MOGA4-Oct-06 2:33 
AnswerRe: Printing Pin
David Crow4-Oct-06 2:58
David Crow4-Oct-06 2:58 
AnswerRe: Printing Pin
Waldermort4-Oct-06 4:17
Waldermort4-Oct-06 4:17 
AnswerRe: Printing Pin
ThatsAlok4-Oct-06 18:24
ThatsAlok4-Oct-06 18:24 
QuestionProblem with using OleLoadPicture in multithreaded application Pin
a.mulay4-Oct-06 1:48
a.mulay4-Oct-06 1:48 
AnswerRe: Problem with using OleLoadPicture in multithreaded application Pin
Hamid_RT4-Oct-06 2:10
Hamid_RT4-Oct-06 2:10 
GeneralRe: Problem with using OleLoadPicture in multithreaded application Pin
a.mulay4-Oct-06 2:19
a.mulay4-Oct-06 2:19 
GeneralRe: Problem with using OleLoadPicture in multithreaded application Pin
Hamid_RT4-Oct-06 9:31
Hamid_RT4-Oct-06 9:31 
GeneralRe: Problem with using OleLoadPicture in multithreaded application Pin
a.mulay4-Oct-06 19:12
a.mulay4-Oct-06 19:12 

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.