peakzhang 发表于 2008-7-15 22:12:02

Spipe 能否使用 Proactor ?

最好能结合ace5.5 example- SPIPE_SAP_NPServer/Client 例子说明一下,谢谢了!

peakzhang 发表于 2008-7-15 22:12:15

In contrast to the ACE IPC wrapper facades, such as ACE_SOCK_Stream described in C++NPv1, ACE_Asynch_Read_Stream
and 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.

peakzhang 发表于 2008-7-15 22:12:29

I would avoid using these for production.
use reactor + socket
页: [1]
查看完整版本: Spipe 能否使用 Proactor ?