Click here to Skip to main content
15,908,020 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: OnInitialUpdate Pin
Andrew Brock26-Oct-11 8:50
Andrew Brock26-Oct-11 8:50 
GeneralRe: OnInitialUpdate Pin
Niklas L27-Oct-11 11:06
Niklas L27-Oct-11 11:06 
QuestionDialog Control Transparent Property Pin
softwaremonkey26-Oct-11 4:52
softwaremonkey26-Oct-11 4:52 
AnswerRe: Dialog Control Transparent Property Pin
Andrew Brock26-Oct-11 5:28
Andrew Brock26-Oct-11 5:28 
GeneralRe: Dialog Control Transparent Property Pin
softwaremonkey26-Oct-11 5:50
softwaremonkey26-Oct-11 5:50 
GeneralRe: Dialog Control Transparent Property Pin
Andrew Brock26-Oct-11 5:54
Andrew Brock26-Oct-11 5:54 
GeneralRe: Dialog Control Transparent Property Pin
softwaremonkey26-Oct-11 7:23
softwaremonkey26-Oct-11 7:23 
Questionsource c++ genetic algorithm function Pin
hasan rad26-Oct-11 1:15
hasan rad26-Oct-11 1:15 
AnswerRe: source c++ genetic algorithm function Pin
Richard MacCutchan26-Oct-11 1:28
mveRichard MacCutchan26-Oct-11 1:28 
AnswerRe: source c++ genetic algorithm function Pin
TheGreatAndPowerfulOz26-Oct-11 5:04
TheGreatAndPowerfulOz26-Oct-11 5:04 
QuestionCFromView Pin
john563225-Oct-11 22:19
john563225-Oct-11 22:19 
AnswerRe: CFromView Pin
Richard MacCutchan25-Oct-11 22:38
mveRichard MacCutchan25-Oct-11 22:38 
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 
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 

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.