Click here to Skip to main content
15,905,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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

GeneralRe: XMLHttpRequest POST message flow. Pin
Neville Franks8-Feb-08 12:14
Neville Franks8-Feb-08 12:14 
Generalcalling code with MFC in non MFC environment Pin
act_x6-Feb-08 8:16
act_x6-Feb-08 8:16 
GeneralRe: calling code with MFC in non MFC environment Pin
Mark Salsbery6-Feb-08 8:48
Mark Salsbery6-Feb-08 8:48 
GeneralRe: calling code with MFC in non MFC environment Pin
act_x6-Feb-08 8:51
act_x6-Feb-08 8:51 
GeneralRe: calling code with MFC in non MFC environment Pin
act_x6-Feb-08 8:52
act_x6-Feb-08 8:52 
GeneralRe: calling code with MFC in non MFC environment Pin
Mark Salsbery6-Feb-08 9:00
Mark Salsbery6-Feb-08 9:00 
GeneralNamedpipe communication Pin
harsha u6-Feb-08 5:52
harsha u6-Feb-08 5:52 
GeneralRe: Namedpipe communication Pin
Mark Salsbery6-Feb-08 6:09
Mark Salsbery6-Feb-08 6:09 
GeneralD3DXCreateTextureFromFile() Pin
Hanan8886-Feb-08 5:43
Hanan8886-Feb-08 5:43 
GeneralRe: D3DXCreateTextureFromFile() Pin
Cedric Moonen6-Feb-08 7:27
Cedric Moonen6-Feb-08 7:27 
GeneralRe: D3DXCreateTextureFromFile() Pin
Hanan8886-Feb-08 22:18
Hanan8886-Feb-08 22:18 
GeneralRe: D3DXCreateTextureFromFile() Pin
Cedric Moonen7-Feb-08 0:09
Cedric Moonen7-Feb-08 0:09 
GeneralRe: D3DXCreateTextureFromFile() Pin
Hanan8887-Feb-08 0:44
Hanan8887-Feb-08 0:44 
GeneralRe: D3DXCreateTextureFromFile() Pin
Maximilien6-Feb-08 8:11
Maximilien6-Feb-08 8:11 
GeneralRe: D3DXCreateTextureFromFile() Pin
Hanan8886-Feb-08 22:24
Hanan8886-Feb-08 22:24 
Questionhow to convert hex to int Pin
Electronic756-Feb-08 5:21
Electronic756-Feb-08 5:21 
AnswerRe: how to convert hex to int Pin
David Crow6-Feb-08 5:46
David Crow6-Feb-08 5:46 

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.