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

C / C++ / MFC

 
GeneralRe: CFromView Pin
Richard MacCutchan26-Oct-11 1:27
mveRichard MacCutchan26-Oct-11 1:27 
GeneralRe: CFromView Pin
Andrew Brock26-Oct-11 1:30
Andrew Brock26-Oct-11 1:30 
GeneralRe: CFromView Pin
Richard MacCutchan26-Oct-11 2:08
mveRichard MacCutchan26-Oct-11 2:08 
GeneralRe: CFromView Pin
Andrew Brock26-Oct-11 2:17
Andrew Brock26-Oct-11 2:17 
GeneralRe: CFromView Pin
Richard MacCutchan26-Oct-11 2:43
mveRichard MacCutchan26-Oct-11 2:43 
AnswerRe: CFromView Pin
CPallini25-Oct-11 23:35
mveCPallini25-Oct-11 23:35 
QuestionQuestion on Windows IOCP Pin
SAMZCN25-Oct-11 17:04
SAMZCN25-Oct-11 17:04 
AnswerRe: Question on Windows IOCP Pin
Mark Salsbery25-Oct-11 17:34
Mark Salsbery25-Oct-11 17:34 
SAMZCN wrote:
How many completion packet will be received?


One for each WSASend call. Always one for each completion packet queued.


SAMZCN wrote:
What is the order of the completion packet?


If you only have one completion handler thread then they'll be in order queued. Multiple completion handler threads could execute in any order as always.


SAMZCN wrote:
Is it possbile to require more than one send request for each buffer?


Yes it's possible, so you need to check if the entire buffer of data was sent for each call, same as always with sockets.


Note: If you make multiple asynchronous WSASend calls using an I/O completion port then make sure all calls are made on the same thread.


For TCP/IP, I personally much prefer only one outstanding read and/or one outstanding write per socket given the above information Smile | :)
Mark Salsbery
Java | [Coffee]

GeneralRe: Question on Windows IOCP Pin
SAMZCN25-Oct-11 23:54
SAMZCN25-Oct-11 23:54 
GeneralRe: Question on Windows IOCP Pin
Mark Salsbery26-Oct-11 5:08
Mark Salsbery26-Oct-11 5:08 
GeneralRe: Question on Windows IOCP Pin
SAMZCN26-Oct-11 15:42
SAMZCN26-Oct-11 15:42 
QuestionIMPLEMENT_SERIAL - VERSIONABLE_SCHEMA problem Pin
_Flaviu25-Oct-11 7:31
_Flaviu25-Oct-11 7:31 
AnswerRe: IMPLEMENT_SERIAL - VERSIONABLE_SCHEMA problem Pin
Erudite_Eric25-Oct-11 8:08
Erudite_Eric25-Oct-11 8:08 
QuestionUsing Timer with non-dialog class Pin
aangerma24-Oct-11 22:13
aangerma24-Oct-11 22:13 
AnswerRe: Using Timer with non-dialog class Pin
_AnsHUMAN_ 24-Oct-11 22:30
_AnsHUMAN_ 24-Oct-11 22:30 
GeneralRe: Using Timer with non-dialog class Pin
aangerma24-Oct-11 22:43
aangerma24-Oct-11 22:43 
GeneralRe: Using Timer with non-dialog class Pin
Albert Holguin25-Oct-11 5:02
professionalAlbert Holguin25-Oct-11 5:02 
GeneralRe: Using Timer with non-dialog class Pin
Andrew Brock25-Oct-11 5:50
Andrew Brock25-Oct-11 5:50 
GeneralRe: Using Timer with non-dialog class Pin
Albert Holguin25-Oct-11 8:57
professionalAlbert Holguin25-Oct-11 8:57 
AnswerRe: Using Timer with non-dialog class Pin
Erudite_Eric24-Oct-11 22:35
Erudite_Eric24-Oct-11 22:35 
GeneralRe: Using Timer with non-dialog class Pin
aangerma24-Oct-11 23:01
aangerma24-Oct-11 23:01 
GeneralRe: Using Timer with non-dialog class Pin
Richard MacCutchan25-Oct-11 0:41
mveRichard MacCutchan25-Oct-11 0:41 
GeneralRe: Using Timer with non-dialog class Pin
Erudite_Eric25-Oct-11 1:05
Erudite_Eric25-Oct-11 1:05 
AnswerRe: Using Timer with non-dialog class Pin
jeron125-Oct-11 4:04
jeron125-Oct-11 4:04 
AnswerRe: Using Timer with non-dialog class Pin
PJ Arends25-Oct-11 6:22
professionalPJ Arends25-Oct-11 6:22 

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.