Spipe 能否使用 Proactor ?
最好能结合ace5.5 example- SPIPE_SAP_NPServer/Client 例子说明一下,谢谢了! In contrast to the ACE IPC wrapper facades, such as ACE_SOCK_Stream described in C++NPv1, ACE_Asynch_Read_Streamand ACE_Asynch_Write_Stream don't encapsulate any underlying IPC
mechanisms. Instead, they define the interface for initiating asynchronous I/O
operations. This design yields the following benefits:
It allows reuse of ACE's IPC wrapper facade classes, such as ACE_SOCK_Stream and ACE_SPIPE_Stream, in the ACE Proactor
framework and avoids recreating a parallel set of IPC classes usable only in the
Proactor framework. I would avoid using these for production.
use reactor + socket
页:
[1]