Click here to Skip to main content
16,006,768 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionFOURTH-ORDER RUNGE-KUTTA ALGORITHM Pin
sahoong18-Oct-06 5:57
sahoong18-Oct-06 5:57 
AnswerRe: FOURTH-ORDER RUNGE-KUTTA ALGORITHM Pin
Mark Salsbery18-Oct-06 6:46
Mark Salsbery18-Oct-06 6:46 
AnswerRe: FOURTH-ORDER RUNGE-KUTTA ALGORITHM Pin
David Crow18-Oct-06 8:07
David Crow18-Oct-06 8:07 
AnswerRe: FOURTH-ORDER RUNGE-KUTTA ALGORITHM Pin
Chris Losinger18-Oct-06 8:18
professionalChris Losinger18-Oct-06 8:18 
GeneralRe: FOURTH-ORDER RUNGE-KUTTA ALGORITHM Pin
Jörgen Sigvardsson18-Oct-06 11:32
Jörgen Sigvardsson18-Oct-06 11:32 
Questiontcp receive Pin
Archyami18-Oct-06 5:22
Archyami18-Oct-06 5:22 
AnswerRe: tcp receive Pin
Mark Salsbery18-Oct-06 5:28
Mark Salsbery18-Oct-06 5:28 
GeneralRe: tcp receive Pin
Archyami18-Oct-06 6:58
Archyami18-Oct-06 6:58 
After receiving the first string, the buffer is cleared (set '\0' to all indices).
After the second recv(), the buffer is still all '\0'.
I am sure that the server has sent 2 strings to the application (client).
The condition is that the second recv() sometimes can receive the correct string, but often receives NULL.

recv() holds the application progress.
Once it finished, the application can go on.
It returned BOOL TRUE so it succeeded but actually nothing is received......

Please help.
Thanks.
GeneralRe: tcp receive Pin
Mark Salsbery18-Oct-06 7:02
Mark Salsbery18-Oct-06 7:02 
GeneralRe: tcp receive Pin
Archyami18-Oct-06 7:14
Archyami18-Oct-06 7:14 
QuestionNetwork Protocol Analyzer? Pin
Andy Rama18-Oct-06 3:07
Andy Rama18-Oct-06 3:07 
AnswerRe: Network Protocol Analyzer? Pin
Mark Salsbery18-Oct-06 6:58
Mark Salsbery18-Oct-06 6:58 
Questionowner darw & xp theme problem Pin
314159265318-Oct-06 2:45
314159265318-Oct-06 2:45 
AnswerRe: owner darw & xp theme problem Pin
Jörgen Sigvardsson18-Oct-06 11:38
Jörgen Sigvardsson18-Oct-06 11:38 
Questionfinding type of device connected to USB port Pin
pavan_sw18-Oct-06 2:31
pavan_sw18-Oct-06 2:31 
AnswerRe: finding type of device connected to USB port Pin
Mark Salsbery18-Oct-06 5:49
Mark Salsbery18-Oct-06 5:49 
Questionfinding type of device connected to USB port Pin
pavan_sw18-Oct-06 2:30
pavan_sw18-Oct-06 2:30 
AnswerRe: finding type of device connected to USB port Pin
David Crow18-Oct-06 3:00
David Crow18-Oct-06 3:00 
AnswerRe: finding type of device connected to USB port Pin
Mark Salsbery18-Oct-06 5:43
Mark Salsbery18-Oct-06 5:43 
AnswerRe: finding type of device connected to USB port Pin
Hamid_RT18-Oct-06 18:39
Hamid_RT18-Oct-06 18:39 
QuestionvectorRichEditBox Pin
prithaa18-Oct-06 2:20
prithaa18-Oct-06 2:20 
AnswerRe: vectorRichEditBox Pin
Maximilien18-Oct-06 2:34
Maximilien18-Oct-06 2:34 
GeneralRe: vectorRichEditBox Pin
_AnsHUMAN_ 18-Oct-06 2:49
_AnsHUMAN_ 18-Oct-06 2:49 
GeneralRe: vectorRichEditBox Pin
Maximilien18-Oct-06 3:02
Maximilien18-Oct-06 3:02 
GeneralRe: vectorRichEditBox Pin
David Crow18-Oct-06 3:03
David Crow18-Oct-06 3:03 

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.