Click here to Skip to main content
15,890,399 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalshell programming books Pin
ns7-Jan-04 8:44
ns7-Jan-04 8:44 
GeneralRe: shell programming books Pin
Christian Graus7-Jan-04 10:04
protectorChristian Graus7-Jan-04 10:04 
GeneralRe: shell programming books Pin
Michael Dunn7-Jan-04 10:39
sitebuilderMichael Dunn7-Jan-04 10:39 
GeneralRe: shell programming books Pin
ns8-Jan-04 2:00
ns8-Jan-04 2:00 
GeneralGetting status from mshtml using a UrlMoniker Pin
Andy Brummer7-Jan-04 8:32
sitebuilderAndy Brummer7-Jan-04 8:32 
GeneralRunning or Detecting a print job Pin
kbsoftware7-Jan-04 8:02
kbsoftware7-Jan-04 8:02 
GeneralError occured when using CArchive to send Message ?Please do me a favor for it! Pin
white jungle7-Jan-04 7:54
white jungle7-Jan-04 7:54 
GeneralRe: Error occured when using CArchive to send Message ?Please do me a favor for it! Pin
RobJones7-Jan-04 8:17
RobJones7-Jan-04 8:17 
I don't use CSocket but I have in the past. (I ran into tons of problems with it). Anyway as a rule of thumb it's not a good idea to do multiple sends especially with out doing any type of error checking.

I'm not 100% sure of the problem but I bet if you run some error checking you will see that the socket is still busy sending the first msg when you try to send the second. That's could be why sleep() allows the socket to finish sending before it attempts the next send.

Hope this helps,
Rob

Whoever said nothing's impossible never tried slamming a revolving door!
Generaloutput of external program Pin
gfds7-Jan-04 6:08
gfds7-Jan-04 6:08 
GeneralRe: output of external program Pin
Ted Ferenc7-Jan-04 6:48
Ted Ferenc7-Jan-04 6:48 
GeneralRe: output of external program Pin
valikac7-Jan-04 7:24
valikac7-Jan-04 7:24 
GeneralResolving mail server name Pin
Anonymous7-Jan-04 6:04
Anonymous7-Jan-04 6:04 
GeneralRe: Resolving mail server name Pin
valikac7-Jan-04 7:26
valikac7-Jan-04 7:26 
QuestionHow do i disable a popup menu item in runtime? Pin
oren frenkel7-Jan-04 5:33
oren frenkel7-Jan-04 5:33 
AnswerRe: How do i disable a popup menu item in runtime? Pin
Iain Clarke, Warrior Programmer7-Jan-04 6:05
Iain Clarke, Warrior Programmer7-Jan-04 6:05 
GeneralCalculate the Array search time in millisecondes Pin
naif6207-Jan-04 5:04
naif6207-Jan-04 5:04 
GeneralRe: Calculate the Array search time in millisecondes Pin
David Crow7-Jan-04 8:49
David Crow7-Jan-04 8:49 
GeneralRe: Calculate the Array search time in millisecondes Pin
naif6208-Jan-04 4:50
naif6208-Jan-04 4:50 
GeneralRe: Calculate the Array search time in millisecondes Pin
David Crow8-Jan-04 6:04
David Crow8-Jan-04 6:04 
QuestionIs this good form? Pin
Cloaca7-Jan-04 4:49
Cloaca7-Jan-04 4:49 
AnswerRe: Is this good form? Pin
Christian Graus7-Jan-04 10:05
protectorChristian Graus7-Jan-04 10:05 
GeneralRe: Is this good form? Pin
Cloaca7-Jan-04 11:53
Cloaca7-Jan-04 11:53 
AnswerRe: Is this good form? Pin
Mike Dimmick8-Jan-04 2:27
Mike Dimmick8-Jan-04 2:27 
GeneralRe: Is this good form? Pin
Cloaca8-Jan-04 5:02
Cloaca8-Jan-04 5:02 
GeneralRe: Is this good form? Pin
Mike Dimmick8-Jan-04 5:23
Mike Dimmick8-Jan-04 5:23 

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.