Click here to Skip to main content
16,019,619 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Asynchronous overlapped I/O Pin
racette19-Nov-07 8:49
racette19-Nov-07 8:49 
GeneralRe: Asynchronous overlapped I/O Pin
racette23-Nov-07 4:16
racette23-Nov-07 4:16 
GeneralRe: Asynchronous overlapped I/O Pin
led mike26-Nov-07 4:56
led mike26-Nov-07 4:56 
GeneralRe: Asynchronous overlapped I/O Pin
racette26-Nov-07 7:07
racette26-Nov-07 7:07 
GeneralRe: Asynchronous overlapped I/O Pin
racette26-Nov-07 7:09
racette26-Nov-07 7:09 
GeneralRe: Asynchronous overlapped I/O Pin
led mike26-Nov-07 8:27
led mike26-Nov-07 8:27 
GeneralRe: Asynchronous overlapped I/O Pin
racette26-Nov-07 10:18
racette26-Nov-07 10:18 
GeneralRe: Asynchronous overlapped I/O Pin
led mike26-Nov-07 10:45
led mike26-Nov-07 10:45 
racette wrote:
No matter what the answer is, is it possible to achieve asynchronous I/O with message-type named pipes?


Yes for read operations. For write operations I don't know if will block or not. However what seems more significant is that the efficiency will not occur:

If this mode is not enabled, the system enhances the efficiency of network operations by buffering data until a minimum number of bytes accumulate or until a maximum time elapses.

That information also speaks to the different ways data transmission libraries use buffering that may or may not effect user code that is reading/writing using the libraries which is what you have been seeing.

Now in your early posts you indicated that your team decided to use named pipes for efficiency reasons. Following that decision I would not think the write through option is appropriate for your solution so your concern over overlapped operations in that mode seems inappropriate.



GeneralRe: Asynchronous overlapped I/O Pin
Mark Salsbery14-Nov-07 12:07
Mark Salsbery14-Nov-07 12:07 
GeneralRe: Asynchronous overlapped I/O Pin
led mike15-Nov-07 4:55
led mike15-Nov-07 4:55 
GeneralRe: Asynchronous overlapped I/O Pin
Mark Salsbery15-Nov-07 7:47
Mark Salsbery15-Nov-07 7:47 
GeneralRe: Asynchronous overlapped I/O Pin
racette16-Nov-07 7:39
racette16-Nov-07 7:39 
AnswerRe: Asynchronous overlapped I/O Pin
Mark Salsbery14-Nov-07 6:10
Mark Salsbery14-Nov-07 6:10 
GeneralRe: Asynchronous overlapped I/O Pin
led mike14-Nov-07 7:51
led mike14-Nov-07 7:51 
GeneralRe: Asynchronous overlapped I/O Pin
racette14-Nov-07 8:56
racette14-Nov-07 8:56 
QuestionTime Pin
EagleAmerican1414-Nov-07 4:49
EagleAmerican1414-Nov-07 4:49 
AnswerRe: Time Pin
toxcct14-Nov-07 4:58
toxcct14-Nov-07 4:58 
GeneralRe: Time Pin
EagleAmerican1414-Nov-07 5:02
EagleAmerican1414-Nov-07 5:02 
GeneralRe: Time Pin
toxcct14-Nov-07 5:05
toxcct14-Nov-07 5:05 
AnswerRe: Time Pin
Maximilien14-Nov-07 5:10
Maximilien14-Nov-07 5:10 
QuestionHow to convert char* to System::String^ Pin
Boroumandan14-Nov-07 3:41
Boroumandan14-Nov-07 3:41 
AnswerRe: How to convert char* to System::String^ Pin
toxcct14-Nov-07 3:46
toxcct14-Nov-07 3:46 
GeneralRe: How to convert char* to System::String^ Pin
toxcct14-Nov-07 6:19
toxcct14-Nov-07 6:19 
AnswerRe: How to convert char* to System::String^ Pin
toxcct14-Nov-07 6:31
toxcct14-Nov-07 6:31 
QuestionRe: how to use Date Time picker control Pin
David Crow14-Nov-07 3:24
David Crow14-Nov-07 3:24 

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.