Click here to Skip to main content
15,896,474 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Array Variable initialization Pin
David Crow9-Sep-08 6:04
David Crow9-Sep-08 6:04 
GeneralRe: Array Variable initialization Pin
CPallini9-Sep-08 9:26
mveCPallini9-Sep-08 9:26 
GeneralRe: Array Variable initialization Pin
David Crow9-Sep-08 10:16
David Crow9-Sep-08 10:16 
GeneralRe: Array Variable initialization Pin
CPallini9-Sep-08 10:24
mveCPallini9-Sep-08 10:24 
AnswerRe: Array Variable initialization Pin
laksh22049-Sep-08 2:48
laksh22049-Sep-08 2:48 
GeneralRe: Array Variable initialization Pin
T.RATHA KRISHNAN9-Sep-08 2:56
T.RATHA KRISHNAN9-Sep-08 2:56 
Questionhelp on using asynchronous sockets in windows using multiple threads Pin
mohant$.net9-Sep-08 2:26
mohant$.net9-Sep-08 2:26 
AnswerRe: help on using asynchronous sockets in windows using multiple threads Pin
cmk9-Sep-08 3:12
cmk9-Sep-08 3:12 
>> I think asynchronous model using the same socket to communicate with the server for the requests should work

Yes.

>> Here I am planning to use a separate thread for each request

No.

>> because both the threads are receiving on the same socket

Yes.

>> how to know that the message received doesnt belong it OR how to make the thread receive the response to the request it posted

No, don't do it this way, use an IOCP model.
There are many articles on this site on how to impliment IOCP.

...cmk

The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.
- John Carmack

QuestionHow to reslove warning LNK4098: defaultlib "MSVCRTD", LNK4098, LNK4098 Pin
ptr_Electron9-Sep-08 2:23
ptr_Electron9-Sep-08 2:23 
AnswerRe: How to reslove warning LNK4098: defaultlib "MSVCRTD", LNK4098, LNK4098 Pin
sashoalm9-Sep-08 5:27
sashoalm9-Sep-08 5:27 
Questionexecute .bat file Pin
Madan Chauhan9-Sep-08 1:46
Madan Chauhan9-Sep-08 1:46 
QuestionRe: execute .bat file Pin
Rajesh R Subramanian9-Sep-08 1:56
professionalRajesh R Subramanian9-Sep-08 1:56 
AnswerRe: execute .bat file Pin
Madan Chauhan9-Sep-08 2:01
Madan Chauhan9-Sep-08 2:01 
GeneralRe: execute .bat file Pin
Rajesh R Subramanian9-Sep-08 2:09
professionalRajesh R Subramanian9-Sep-08 2:09 
JokeRe: execute .bat file Pin
toxcct9-Sep-08 2:12
toxcct9-Sep-08 2:12 
AnswerRe: execute .bat file Pin
toxcct9-Sep-08 1:58
toxcct9-Sep-08 1:58 
GeneralRe: execute .bat file Pin
Madan Chauhan9-Sep-08 2:04
Madan Chauhan9-Sep-08 2:04 
GeneralRe: execute .bat file Pin
toxcct9-Sep-08 2:08
toxcct9-Sep-08 2:08 
GeneralRe: execute .bat file Pin
Madan Chauhan9-Sep-08 2:22
Madan Chauhan9-Sep-08 2:22 
GeneralRe: execute .bat file Pin
toxcct9-Sep-08 2:25
toxcct9-Sep-08 2:25 
GeneralRe: execute .bat file Pin
Madan Chauhan9-Sep-08 2:34
Madan Chauhan9-Sep-08 2:34 
GeneralRe: execute .bat file Pin
toxcct9-Sep-08 2:38
toxcct9-Sep-08 2:38 
GeneralRe: execute .bat file Pin
vcprog24-Sep-08 20:38
vcprog24-Sep-08 20:38 
GeneralRe: execute .bat file Pin
Rajesh R Subramanian24-Sep-08 23:25
professionalRajesh R Subramanian24-Sep-08 23:25 
GeneralRe: execute .bat file Pin
toxcct24-Sep-08 23:38
toxcct24-Sep-08 23:38 

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.