Click here to Skip to main content
15,891,767 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A Qestion on thread Pin
Stephen Hewitt14-Jan-07 16:56
Stephen Hewitt14-Jan-07 16:56 
AnswerRe: A Qestion on thread Pin
Roger Stoltz14-Jan-07 20:30
Roger Stoltz14-Jan-07 20:30 
AnswerRe: A Qestion on thread Pin
Cristian Amarie14-Jan-07 23:35
Cristian Amarie14-Jan-07 23:35 
AnswerRe: A Qestion on thread Pin
David Crow15-Jan-07 3:44
David Crow15-Jan-07 3:44 
QuestionI don't know How to build Pin
rockfanskid14-Jan-07 15:34
rockfanskid14-Jan-07 15:34 
AnswerRe: I don't know How to build Pin
Nibu babu thomas14-Jan-07 17:42
Nibu babu thomas14-Jan-07 17:42 
QuestionRe: I don't know How to build Pin
David Crow15-Jan-07 3:46
David Crow15-Jan-07 3:46 
QuestionTimer + Network Programming = problem Pin
Sean Cleary14-Jan-07 13:07
Sean Cleary14-Jan-07 13:07 
So I have a program that reads a network source in over a TCP/IP connection and it sends info between 10 times a second and once every 10 seconds. Now, at first, I thought I could just use a Timer and every time it ticks, call my recv() function. However, it works until like the fifth time I call recv() and that's when it freezes the program and stops updating. I was wondering if there is any way to make the program call recv constantly, without blocking, so it can update the program whenever the network source send information, but not freeze the program when the network source doesn't send any info. Any suggestions?

Oh yeah, I'm using Visual Studio 2005 on Windows XP, and I'm using Windows Forms to write it. Let me know if I'm unclear about something.
AnswerRe: Timer + Network Programming = problem [modified] Pin
bob1697214-Jan-07 13:50
bob1697214-Jan-07 13:50 
AnswerRe: Timer + Network Programming = problem Pin
Mark Salsbery14-Jan-07 13:57
Mark Salsbery14-Jan-07 13:57 
GeneralRe: Timer + Network Programming = problem Pin
Sean Cleary15-Jan-07 11:39
Sean Cleary15-Jan-07 11:39 
AnswerRe: Timer + Network Programming = problem Pin
Mark Salsbery14-Jan-07 14:24
Mark Salsbery14-Jan-07 14:24 
QuestionSetWindowPos() basic question Pin
PatrykDabrowski14-Jan-07 7:14
PatrykDabrowski14-Jan-07 7:14 
AnswerRe: SetWindowPos() basic question Pin
PJ Arends14-Jan-07 7:28
professionalPJ Arends14-Jan-07 7:28 
GeneralRe: SetWindowPos() basic question Pin
PatrykDabrowski14-Jan-07 7:44
PatrykDabrowski14-Jan-07 7:44 
AnswerRe: SetWindowPos() basic question Pin
CPallini14-Jan-07 7:43
mveCPallini14-Jan-07 7:43 
GeneralRe: SetWindowPos() basic question Pin
PatrykDabrowski14-Jan-07 8:04
PatrykDabrowski14-Jan-07 8:04 
GeneralRe: SetWindowPos() basic question Pin
CPallini14-Jan-07 8:51
mveCPallini14-Jan-07 8:51 
GeneralRe: SetWindowPos() basic question Pin
PatrykDabrowski14-Jan-07 9:06
PatrykDabrowski14-Jan-07 9:06 
AnswerRe: SetWindowPos() basic question [modified] Pin
Mark Salsbery14-Jan-07 7:43
Mark Salsbery14-Jan-07 7:43 
AnswerRe: SetWindowPos() basic question Pin
Michael Dunn14-Jan-07 9:52
sitebuilderMichael Dunn14-Jan-07 9:52 
GeneralRe: SetWindowPos() basic question Pin
PatrykDabrowski14-Jan-07 10:03
PatrykDabrowski14-Jan-07 10:03 
AnswerRe: SetWindowPos() basic question Pin
#realJSOP14-Jan-07 23:31
mve#realJSOP14-Jan-07 23:31 
Questionifstream problem Pin
gxkendall14-Jan-07 6:39
gxkendall14-Jan-07 6:39 
AnswerRe: ifstream problem Pin
CPallini14-Jan-07 6:57
mveCPallini14-Jan-07 6:57 

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.