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

C / C++ / MFC

 
AnswerRe: CFromView Pin
Andrew Brock25-Oct-11 23:31
Andrew Brock25-Oct-11 23:31 
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 
As I know IOCP which is called one powerful model to meet socket program in scalable case, from then on I have a question on IOCP.Today, still puzzle me.

The question is What will happen if you post more than one WSASend() request in one client socket which has been associated with the existing completion port. The scenario is as follows:

IO Request:
C++
WSASend(...,wsaBuff1,1,...); // 1st send request for Buffer1 with 1MB data
WSASend(...,wsaBuff2,1,...); // 2nd send request for Buffer2 with 1MB data
WSASend(...,wsaBuff3,1,...); // 3rd send request for Buffer3 with 1MB data


What will happen in the completion port?
1/ How many completion packet will be received?
2/ What is the order of the completion packet?
3/ Is it possbile to require more than one send request for each buffer? It means one time send request can't finish the data transmission. The user need to post another or more WSASend request for the rest data.
AnswerRe: Question on Windows IOCP Pin
Mark Salsbery25-Oct-11 17:34
Mark Salsbery25-Oct-11 17:34 
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 

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.