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

C / C++ / MFC

 
GeneralRe: Handling exception Pin
Demian Panello18-Oct-06 7:11
Demian Panello18-Oct-06 7:11 
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 
Receive NULL returned from recv or NULL for number of bytes received?

1) Make sure both strings get sent.
2) Make sure you wait for both strings to get to the client.
You'll need to poll or wait for an FD_READ event/notification from the socket
and REPEAT until you've received the number of bytes you are expecting.

TCP knows nothing about "strings". It only knows a stream of bytes.
It is up to you to know how many bytes to send and receive and to reassemble them into "strings",
"packets", etc. on the receiving end.

Mark

GeneralRe: tcp receive Pin
Archyami18-Oct-06 6:58
Archyami18-Oct-06 6:58 
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 

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.