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

C / C++ / MFC

 
GeneralRe: Array Variable initialization Pin
CPallini9-Sep-08 6:01
mveCPallini9-Sep-08 6:01 
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 
Hi,

I am writing a client application to connect to servers that have shares information.
I found out that servers will not allow data to be sent via different sockets after login from one socket.

So, I think asynchronous model using the same socket to communicate with the server for the requests should work. Here I am planning to use a separate thread for each request.

Here, if 2 threads are present and each send diff requests. Now server sends the responses. When checked with this model, the responses were received by each thread were not theirs. (this might be because both the threads are receiving on the same socket.)

Here, my question is how to know that the message received doesnt belong it OR how to make the thread receive the response to the request it posted?

Please help on this ASAP, its urgent.

Many thanks in advance.

Mohan t working for N.I.C

AnswerRe: help on using asynchronous sockets in windows using multiple threads Pin
cmk9-Sep-08 3:12
cmk9-Sep-08 3:12 
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 

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.