Click here to Skip to main content
15,917,565 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Program To Recover Email? Pin
Navin C22-Nov-06 18:54
Navin C22-Nov-06 18:54 
Questionhow to sort the list box Items? Pin
ashokbngr21-Nov-06 22:02
ashokbngr21-Nov-06 22:02 
AnswerRe: how to sort the list box Items? Pin
CPallini21-Nov-06 22:12
mveCPallini21-Nov-06 22:12 
AnswerRe: how to sort the list box Items? Pin
peterchen21-Nov-06 22:12
peterchen21-Nov-06 22:12 
QuestionI need stlport_vc6.lib Pin
Dudi Avramov21-Nov-06 21:59
Dudi Avramov21-Nov-06 21:59 
AnswerRe: I need stlport_vc6.lib Pin
Bob Flynn21-Nov-06 22:27
Bob Flynn21-Nov-06 22:27 
QuestionMultithreading in used sockets [modified] Pin
__codeproject21-Nov-06 21:46
__codeproject21-Nov-06 21:46 
AnswerRe: Multithreading in used sockets Pin
Galatei22-Nov-06 4:07
Galatei22-Nov-06 4:07 
Meat man, meat. Try to not use translators anymore, please.

As for the case of your, use accept to redirect connection to randomly generated port, then create thread which will use that newly created socket, and return immediately to accept for another connection.

It could look like this:
do
{
newsocket = accept(initial_socket)
create_thread(newsocket) {
work_with_new_socket();
...etc...
};
}
loop (get back to the beginning, mean accept);

Regards
AnswerRe: Multithreading in used sockets Pin
Mark Salsbery22-Nov-06 6:43
Mark Salsbery22-Nov-06 6:43 
QuestionVC8 release builds [modified] Pin
Waldermort21-Nov-06 20:43
Waldermort21-Nov-06 20:43 
QuestionSolved but another question Pin
Waldermort21-Nov-06 21:29
Waldermort21-Nov-06 21:29 
AnswerRe: Solved but another question Pin
Michael Dunn21-Nov-06 22:41
sitebuilderMichael Dunn21-Nov-06 22:41 
GeneralRe: Solved but another question Pin
Waldermort21-Nov-06 23:40
Waldermort21-Nov-06 23:40 
Questionreduce the size of bitmap Pin
_tasleem21-Nov-06 20:10
_tasleem21-Nov-06 20:10 
AnswerRe: reduce the size of bitmap Pin
Waldermort21-Nov-06 20:49
Waldermort21-Nov-06 20:49 
GeneralRe: reduce the size of bitmap Pin
_tasleem22-Nov-06 20:42
_tasleem22-Nov-06 20:42 
QuestionTreeview problem in RegistryKey ? [modified] Pin
Sakthiu21-Nov-06 19:26
Sakthiu21-Nov-06 19:26 
AnswerRe: Treeview problem in RegistryKey ? [modified] Pin
Galatei21-Nov-06 22:32
Galatei21-Nov-06 22:32 
Question'KBDLLHOOKSTRUCT' : undeclared identifier Why? Pin
LaHaHa21-Nov-06 19:11
LaHaHa21-Nov-06 19:11 
QuestionRe: 'KBDLLHOOKSTRUCT' : undeclared identifier Why? Pin
Rajesh R Subramanian21-Nov-06 19:14
professionalRajesh R Subramanian21-Nov-06 19:14 
AnswerRe: 'KBDLLHOOKSTRUCT' : undeclared identifier Why? Pin
LaHaHa21-Nov-06 19:49
LaHaHa21-Nov-06 19:49 
GeneralRe: 'KBDLLHOOKSTRUCT' : undeclared identifier Why? Pin
Rajesh R Subramanian21-Nov-06 20:14
professionalRajesh R Subramanian21-Nov-06 20:14 
GeneralRe: 'KBDLLHOOKSTRUCT' : undeclared identifier Why? Pin
LaHaHa21-Nov-06 21:41
LaHaHa21-Nov-06 21:41 
GeneralRe: 'KBDLLHOOKSTRUCT' : undeclared identifier Why? Pin
R. S. Verma14-May-12 1:44
R. S. Verma14-May-12 1:44 
AnswerRe: 'KBDLLHOOKSTRUCT' : undeclared identifier Why? Pin
prasad_som21-Nov-06 20:29
prasad_som21-Nov-06 20:29 

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.