Click here to Skip to main content
15,921,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SetScrollSizes Pin
Mark Salsbery6-Feb-08 12:50
Mark Salsbery6-Feb-08 12:50 
GeneralRe: SetScrollSizes Pin
Still learning how to code6-Feb-08 22:51
Still learning how to code6-Feb-08 22:51 
GeneralRe: SetScrollSizes Pin
Mark Salsbery7-Feb-08 5:36
Mark Salsbery7-Feb-08 5:36 
QuestionCDialog : Message After the dialog is created and displayed? Pin
Maximilien6-Feb-08 10:00
Maximilien6-Feb-08 10:00 
AnswerRe: CDialog : Message After the dialog is created and displayed? Pin
Mark Salsbery6-Feb-08 10:10
Mark Salsbery6-Feb-08 10:10 
General[Solved] Re: CDialog : Message After the dialog is created and displayed? Pin
Maximilien6-Feb-08 10:14
Maximilien6-Feb-08 10:14 
GeneralRe: [Solved] Re: CDialog : Message After the dialog is created and displayed? Pin
Mark Salsbery6-Feb-08 10:16
Mark Salsbery6-Feb-08 10:16 
AnswerRe: CDialog : Message After the dialog is created and displayed? Pin
Dave Calkins6-Feb-08 10:26
Dave Calkins6-Feb-08 10:26 
GeneralPassing multiple parameters to a thread Pin
jonsey298476-Feb-08 9:55
jonsey298476-Feb-08 9:55 
GeneralRe: Passing multiple parameters to a thread Pin
Mark Salsbery6-Feb-08 10:13
Mark Salsbery6-Feb-08 10:13 
GeneralRe: Passing multiple parameters to a thread Pin
jonsey298476-Feb-08 12:07
jonsey298476-Feb-08 12:07 
GeneralRe: Passing multiple parameters to a thread Pin
Mark Salsbery6-Feb-08 12:30
Mark Salsbery6-Feb-08 12:30 
GeneralRe: Passing multiple parameters to a thread Pin
Cedric Moonen6-Feb-08 20:18
Cedric Moonen6-Feb-08 20:18 
GeneralRe: Passing multiple parameters to a thread Pin
CPallini6-Feb-08 21:00
mveCPallini6-Feb-08 21:00 
GeneralRe: Passing multiple parameters to a thread Pin
Mark Salsbery7-Feb-08 5:31
Mark Salsbery7-Feb-08 5:31 
GeneralRe: Passing multiple parameters to a thread Pin
Cedric Moonen7-Feb-08 7:37
Cedric Moonen7-Feb-08 7:37 
GeneralRe: Passing multiple parameters to a thread Pin
Mark Salsbery7-Feb-08 7:54
Mark Salsbery7-Feb-08 7:54 
GeneralRe: Passing multiple parameters to a thread [Solved] Pin
jonsey298479-Feb-08 0:17
jonsey298479-Feb-08 0:17 
GeneralRe: Passing multiple parameters to a thread, best practices Pin
jonsey298479-Feb-08 0:29
jonsey298479-Feb-08 0:29 
QuestionXMLHttpRequest POST message flow. Pin
Neville Franks6-Feb-08 9:25
Neville Franks6-Feb-08 9:25 
GeneralRe: XMLHttpRequest POST message flow. Pin
led mike8-Feb-08 8:41
led mike8-Feb-08 8:41 
GeneralRe: XMLHttpRequest POST message flow. Pin
Neville Franks8-Feb-08 9:53
Neville Franks8-Feb-08 9:53 
GeneralRe: XMLHttpRequest POST message flow. Pin
led mike8-Feb-08 10:10
led mike8-Feb-08 10:10 
GeneralRe: XMLHttpRequest POST message flow. Pin
Neville Franks8-Feb-08 10:56
Neville Franks8-Feb-08 10:56 
GeneralRe: XMLHttpRequest POST message flow. Pin
led mike8-Feb-08 11:16
led mike8-Feb-08 11:16 
Neville Franks wrote:
By looking at what WSARecv received. The problem was the HTTP POST data was being received in multiple TCP packets, whereas I incorrectly assumed the Header & Body would come as one.

Yes, that is an artifact of TCP not HTTP. However your original post said:
Neville Franks wrote:
It appears that the server gets the Headers first, then sends back a 200 OK response and then receives the BODY for the POST.


How do you know that? What do you mean "the server"? If it's your server, the one you are developing then you are doing it wrong. Of course the client doesn't know that because by the time it gets your 200 reply it has already sent it's entire message so it has no way of knowing that didn't read it all before you sent your reply.


led mike

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.