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

C / C++ / MFC

 
GeneralRe: What design to use? Pin
gourishsio10-Jul-12 18:14
gourishsio10-Jul-12 18:14 
QuestionC programming question Pin
Kotiexalter8-Jul-12 17:50
Kotiexalter8-Jul-12 17:50 
AnswerRe: C programming question Pin
«_Superman_»8-Jul-12 18:02
professional«_Superman_»8-Jul-12 18:02 
AnswerRe: C programming question Pin
Madhan Mohan Reddy P8-Jul-12 22:55
professionalMadhan Mohan Reddy P8-Jul-12 22:55 
QuestionHow to Get Event from Controls in Docking Dialog Pin
Member 21198448-Jul-12 1:27
Member 21198448-Jul-12 1:27 
AnswerRe: How to Get Event from Controls in Docking Dialog Pin
Sunil P V10-Jul-12 0:05
Sunil P V10-Jul-12 0:05 
QuestionWhy is pointer a compound type, not a fundamental type? Pin
sawerr7-Jul-12 22:06
sawerr7-Jul-12 22:06 
AnswerRe: Why is pointer a compound type, not a fundamental type? Pin
Richard MacCutchan7-Jul-12 23:20
mveRichard MacCutchan7-Jul-12 23:20 
AnswerRe: Why is pointer a compound type, not a fundamental type? Pin
«_Superman_»8-Jul-12 3:20
professional«_Superman_»8-Jul-12 3:20 
AnswerRe: Why is pointer a compound type, not a fundamental type? Pin
fat_boy8-Jul-12 4:03
fat_boy8-Jul-12 4:03 
QuestionHow to receive data using dynamic array in recv api()? Pin
vanithavadivel7-Jul-12 0:13
vanithavadivel7-Jul-12 0:13 
AnswerRe: How to receive data using dynamic array in recv api()? Pin
Richard MacCutchan7-Jul-12 0:55
mveRichard MacCutchan7-Jul-12 0:55 
AnswerRe: How to receive data using dynamic array in recv()? Pin
Software_Developer7-Jul-12 23:28
Software_Developer7-Jul-12 23:28 
QuestionC programming question Pin
Kotiexalter6-Jul-12 18:05
Kotiexalter6-Jul-12 18:05 
AnswerRe: C programming question Pin
Richard MacCutchan6-Jul-12 21:09
mveRichard MacCutchan6-Jul-12 21:09 
AnswerRe: C programming question Pin
Code-o-mat6-Jul-12 22:45
Code-o-mat6-Jul-12 22:45 
GeneralRe: C programming question Pin
Richard MacCutchan7-Jul-12 0:48
mveRichard MacCutchan7-Jul-12 0:48 
GeneralRe: C programming question Pin
Code-o-mat7-Jul-12 9:04
Code-o-mat7-Jul-12 9:04 
GeneralRe: C programming question Pin
Richard Andrew x647-Jul-12 10:55
professionalRichard Andrew x647-Jul-12 10:55 
GeneralRe: C programming question Pin
BCN-1637-Jul-12 16:24
BCN-1637-Jul-12 16:24 
GeneralRe: C programming question Pin
Code-o-mat7-Jul-12 23:20
Code-o-mat7-Jul-12 23:20 
AnswerRe: C programming question Pin
CPallini8-Jul-12 9:45
mveCPallini8-Jul-12 9:45 
JokeRe: C programming question Pin
Albert Holguin8-Jul-12 17:12
professionalAlbert Holguin8-Jul-12 17:12 
QuestionSocket connection problem Pin
ForNow6-Jul-12 3:08
ForNow6-Jul-12 3:08 
AnswerRe: Socket connection problem Pin
Albert Holguin6-Jul-12 4:15
professionalAlbert Holguin6-Jul-12 4:15 
Not sure what you're asking, this looks like a bit of a code dump. Typically connections won't take very long if you're within the same LAN, so you may have another issue with your code. By the way, if you're using an asynchronous socket, the connection is also asynchronous, meaning you don't sit there and wait for a response, the callback will be called when it's either connected or timed out.

ForNow wrote:
PeekMessage(&m_msgCur, NULL, NULL, NULL, PM_NOREMOVE);

You don't have to manually create a message queue for a CWinThread.

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.