Click here to Skip to main content
15,898,538 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: About Sobel operator in Image Processing Pin
David Crow8-Jul-14 17:09
David Crow8-Jul-14 17:09 
AnswerRe: About Sobel operator in Image Processing Pin
Chris Losinger10-Jul-14 4:57
professionalChris Losinger10-Jul-14 4:57 
QuestionSuitable Application type in VS2008 for my Purpose Pin
manoharbalu6-Jul-14 19:53
manoharbalu6-Jul-14 19:53 
AnswerRe: Suitable Application type in VS2008 for my Purpose Pin
Richard MacCutchan6-Jul-14 20:46
mveRichard MacCutchan6-Jul-14 20:46 
QuestionWinsock Event Select Model Pin
Richard Andrew x645-Jul-14 20:54
professionalRichard Andrew x645-Jul-14 20:54 
AnswerRe: Winsock Event Select Model Pin
jeron17-Jul-14 5:34
jeron17-Jul-14 5:34 
GeneralRe: Winsock Event Select Model Pin
Richard Andrew x647-Jul-14 6:46
professionalRichard Andrew x647-Jul-14 6:46 
GeneralRe: Winsock Event Select Model Pin
jeron17-Jul-14 7:31
jeron17-Jul-14 7:31 
Something this basic should really be documented, lord knows I couldn't find anything (which is not to say that it doesn't exist) that decribes this. I did find some wording on this[^] non-MSDN page, which talks about what happens to your buffer in reponse to a Send() call. No, it's not from the horses mouth, but it does make sense, at least to me.
Quote:
When an application makes a send call, if there is sufficient buffer space, the data is copied into the socket's send buffers, the call completes immediately with success, and the completion is posted. On the other hand, if the socket's send buffer is full, then the application's send buffer is locked and the send call fails with WSA_IO_PENDING. After the data in the send buffer is processed (for example, handed down to TCP for processing), then Winsock will process the locked buffer directly. That is, the data is handed directly to TCP from the application's buffer and the socket's send buffer is completely bypassed.
Hope it helps.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment

"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst

GeneralRe: Winsock Event Select Model Pin
Richard Andrew x647-Jul-14 7:59
professionalRichard Andrew x647-Jul-14 7:59 
AnswerRe: Winsock Event Select Model Pin
Randor 7-Jul-14 7:25
professional Randor 7-Jul-14 7:25 
GeneralRe: Winsock Event Select Model Pin
Richard Andrew x647-Jul-14 7:31
professionalRichard Andrew x647-Jul-14 7:31 
GeneralRe: Winsock Event Select Model Pin
Randor 7-Jul-14 12:19
professional Randor 7-Jul-14 12:19 
GeneralRe: Winsock Event Select Model Pin
Richard Andrew x647-Jul-14 12:22
professionalRichard Andrew x647-Jul-14 12:22 
QuestionArithmetic Operator Overload in Pure Abstract Class Pin
CJ14-Jul-14 11:34
professionalCJ14-Jul-14 11:34 
AnswerRe: Arithmetic Operator Overload in Pure Abstract Class Pin
jschell7-Jul-14 10:10
jschell7-Jul-14 10:10 
AnswerRe: Arithmetic Operator Overload in Pure Abstract Class Pin
Stefan_Lang7-Jul-14 21:43
Stefan_Lang7-Jul-14 21:43 
QuestionRepaint control component question Pin
econy4-Jul-14 4:16
econy4-Jul-14 4:16 
AnswerRe: Repaint control component question Pin
Richard MacCutchan4-Jul-14 5:46
mveRichard MacCutchan4-Jul-14 5:46 
QuestionHow to trace a program? Pin
GwapoKho3-Jul-14 3:02
GwapoKho3-Jul-14 3:02 
AnswerRe: How to trace a program? Pin
jeron13-Jul-14 5:02
jeron13-Jul-14 5:02 
AnswerRe: How to trace a program? Pin
Stefan_Lang4-Jul-14 0:05
Stefan_Lang4-Jul-14 0:05 
QuestionTBLRD instruction PIC18 Pin
__John_3-Jul-14 1:20
__John_3-Jul-14 1:20 
AnswerRe: TBLRD instruction PIC18 Pin
CPallini3-Jul-14 2:51
mveCPallini3-Jul-14 2:51 
GeneralRe: TBLRD instruction PIC18 Pin
__John_3-Jul-14 4:04
__John_3-Jul-14 4:04 
GeneralRe: TBLRD instruction PIC18 Pin
CPallini3-Jul-14 4:33
mveCPallini3-Jul-14 4:33 

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.