Click here to Skip to main content
15,887,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Winsock 10053 for my app but not for others/ Pin
Mark Salsbery12-Sep-08 13:29
Mark Salsbery12-Sep-08 13:29 
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 
GeneralRe: Communication .....what I'm sending and receiving.... Pin
LitteWindow14-Sep-08 2:45
LitteWindow14-Sep-08 2:45 
GeneralRe: Communication .....what I'm sending and receiving.... Pin
Mark Salsbery14-Sep-08 9:39
Mark Salsbery14-Sep-08 9:39 
GeneralRe: Communication .....what I'm sending and receiving.... Pin
LitteWindow14-Sep-08 10:34
LitteWindow14-Sep-08 10:34 
GeneralRe: Communication .....what I'm sending and receiving.... Pin
Mark Salsbery14-Sep-08 13:21
Mark Salsbery14-Sep-08 13:21 
GeneralRe: Communication .....what I'm sending and receiving.... Pin
LitteWindow15-Sep-08 3:14
LitteWindow15-Sep-08 3:14 
You are correct. I have tried to set this up as a persistent connection but it seams that the web server or app server (Gallery2) is not cooperating. Mix in Winsock's error reporting - Why my second send returns the bytes sent and afterward the recv returns SOCKERROR with WSAGetLastError giving me the 10053, I have no idea why it can't tell me that the server closed the connection instead.

I'm using HTTP/1.1 Apache/2.2.9 on Fedora 9.
I got it (my app) to work by closing the connection and then reconnecting after each message (do a send and recv and then reset the connection). I really don't like doing it as a solution but it works and the reconnect happens fast.

I get 200s back from Apache when doing basic web page requests and when I call the main.php in gallery2, I'm getting valid responses when I format their requests properly. I'm still working on that.
GeneralRe: Communication .....what I'm sending and receiving.... Pin
Mark Salsbery15-Sep-08 5:29
Mark Salsbery15-Sep-08 5:29 
GeneralRe: Communication .....what I'm sending and receiving.... Pin
LitteWindow15-Sep-08 12:56
LitteWindow15-Sep-08 12:56 
QuestionRe: Winsock 10053 for my app but not for others/ Pin
Mark Salsbery12-Sep-08 12:25
Mark Salsbery12-Sep-08 12:25 
QuestionReturn true/false or TRUE/FALSE in COM? [modified] Pin
followait11-Sep-08 15:10
followait11-Sep-08 15:10 
AnswerRe: Return true/false or TRUE/FALSE in COM? Pin
David Crow11-Sep-08 17:11
David Crow11-Sep-08 17:11 
AnswerRe: Return true/false or TRUE/FALSE in COM? Pin
James R. Twine12-Sep-08 7:56
James R. Twine12-Sep-08 7:56 
QuestionGetModuleHandle in a DLL Pin
sawerr11-Sep-08 10:11
sawerr11-Sep-08 10:11 
AnswerRe: GetModuleHandle in a DLL Pin
Mark Salsbery11-Sep-08 10:17
Mark Salsbery11-Sep-08 10:17 
GeneralRe: GetModuleHandle in a DLL Pin
sawerr11-Sep-08 10:27
sawerr11-Sep-08 10:27 
QuestionMFC Programming Problem. Pin
kaushal kishore sharma11-Sep-08 8:40
kaushal kishore sharma11-Sep-08 8:40 
QuestionRe: MFC Programming Problem. Pin
Mark Salsbery11-Sep-08 8:43
Mark Salsbery11-Sep-08 8:43 
AnswerRe: MFC Programming Problem. Pin
kaushal kishore sharma11-Sep-08 9:01
kaushal kishore sharma11-Sep-08 9:01 
GeneralRe: MFC Programming Problem. Pin
Mark Salsbery11-Sep-08 9:18
Mark Salsbery11-Sep-08 9:18 
GeneralRe: MFC Programming Problem. Pin
kaushal kishore sharma11-Sep-08 9:23
kaushal kishore sharma11-Sep-08 9:23 
GeneralRe: MFC Programming Problem. Pin
Mark Salsbery11-Sep-08 9:29
Mark Salsbery11-Sep-08 9:29 
GeneralRe: MFC Programming Problem. Pin
kaushal kishore sharma11-Sep-08 9:32
kaushal kishore sharma11-Sep-08 9:32 
GeneralRe: MFC Programming Problem. Pin
David Crow11-Sep-08 10:21
David Crow11-Sep-08 10:21 

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.