Click here to Skip to main content
15,918,617 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: dual interface Pin
George_George14-Sep-08 2:00
George_George14-Sep-08 2:00 
GeneralRe: dual interface Pin
CPallini14-Sep-08 2:27
mveCPallini14-Sep-08 2:27 
GeneralRe: dual interface Pin
George_George14-Sep-08 2:41
George_George14-Sep-08 2:41 
GeneralRe: dual interface Pin
CPallini14-Sep-08 3:15
mveCPallini14-Sep-08 3:15 
GeneralRe: dual interface Pin
George_George15-Sep-08 4:09
George_George15-Sep-08 4:09 
GeneralRe: dual interface Pin
CPallini15-Sep-08 4:38
mveCPallini15-Sep-08 4:38 
GeneralRe: dual interface Pin
George_George15-Sep-08 4:43
George_George15-Sep-08 4:43 
GeneralRe: dual interface Pin
CPallini15-Sep-08 4:48
mveCPallini15-Sep-08 4:48 
GeneralRe: dual interface Pin
George_George15-Sep-08 17:10
George_George15-Sep-08 17:10 
GeneralRe: dual interface Pin
CPallini15-Sep-08 21:38
mveCPallini15-Sep-08 21:38 
GeneralRe: dual interface Pin
George_George15-Sep-08 22:11
George_George15-Sep-08 22:11 
GeneralRe: dual interface Pin
George_George11-Sep-08 22:55
George_George11-Sep-08 22:55 
GeneralRe: dual interface Pin
led mike12-Sep-08 4:33
led mike12-Sep-08 4:33 
GeneralRe: dual interface Pin
led mike12-Sep-08 4:33
led mike12-Sep-08 4:33 
GeneralRe: dual interface Pin
George_George12-Sep-08 19:59
George_George12-Sep-08 19:59 
QuestionWinsock 10053 for my app but not for others/ [modified] Pin
LitteWindow11-Sep-08 15:21
LitteWindow11-Sep-08 15:21 
AnswerRe: Winsock 10053 for my app but not for others/ Pin
Mark Salsbery12-Sep-08 5:43
Mark Salsbery12-Sep-08 5:43 
GeneralRe: Winsock 10053 for my app but not for others/ Pin
LitteWindow12-Sep-08 9:52
LitteWindow12-Sep-08 9:52 
GeneralRe: Winsock 10053 for my app but not for others/ Pin
Mark Salsbery12-Sep-08 10:25
Mark Salsbery12-Sep-08 10:25 
GeneralRe: Winsock 10053 for my app but not for others/ Pin
LitteWindow12-Sep-08 12:09
LitteWindow12-Sep-08 12:09 
GeneralRe: Winsock 10053 for my app but not for others/ Pin
Mark Salsbery12-Sep-08 12:24
Mark Salsbery12-Sep-08 12:24 
GeneralRe: Winsock 10053 for my app but not for others/ Pin
LitteWindow12-Sep-08 13:13
LitteWindow12-Sep-08 13:13 
GeneralRe: Winsock 10053 for my app but not for others/ Pin
Mark Salsbery12-Sep-08 13:29
Mark Salsbery12-Sep-08 13:29 
LitteWindow wrote:
I loop until the recv returns something less than or equal to 0


Then recvs will only happen until there's no more data sent.
Then recv will block until there's more data.

If you run in the debugger, break execution and see where the
receive thread is sitting. In the call to recv()?

You're using HTTP protocol? If so...
Are you parsing the reply properly?
Are you relying on the receive loop to end when the
connection is closed by the server? If so are you using
the appropriate keep-alive header?

Too many questions? Smile | :)

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralCommunication .....what I'm sending and receiving.... Pin
LitteWindow13-Sep-08 3:19
LitteWindow13-Sep-08 3:19 
GeneralRe: Communication .....what I'm sending and receiving.... Pin
Mark Salsbery13-Sep-08 8:34
Mark Salsbery13-Sep-08 8:34 

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.