Click here to Skip to main content
15,909,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Asynchronous overlapped I/O Pin
led mike15-Nov-07 4:29
led mike15-Nov-07 4:29 
GeneralRe: Asynchronous overlapped I/O Pin
racette16-Nov-07 7:29
racette16-Nov-07 7:29 
GeneralRe: Asynchronous overlapped I/O Pin
led mike16-Nov-07 20:43
led mike16-Nov-07 20:43 
GeneralRe: Asynchronous overlapped I/O Pin
racette19-Nov-07 7:23
racette19-Nov-07 7:23 
GeneralRe: Asynchronous overlapped I/O Pin
led mike19-Nov-07 7:49
led mike19-Nov-07 7:49 
GeneralRe: Asynchronous overlapped I/O Pin
racette19-Nov-07 8:33
racette19-Nov-07 8:33 
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 
led mike wrote:
I strongly urge you to stop working on your project and do some studying of network programming issues. This would include reading and then writing, executing and observing networking code in research projects.


I did some tests and discovered that I don't get the problem of 4292 bytes being sent and received when I switched to PIPE_TYPE_MESSAGE instead of PIPE_TYPE_BYTE. However, I think I went back to synchronous I/O with PIPE_TYPE_MESSAGE since I read somewhere that this type of pipe enables a mode known as 'write-through' (FILE_FLAG_WRITE_THROUGH option).

Can someone confirm this?

Also, is there a way to achieve asynchronous overlapped I/O with PIPE_TYPE_MESSAGE pipes?

Thanks!


Benjamin Racette
CAE software developer
racette@cae.com

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 
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 

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.