纸飞机 发表于 2008-10-22 04:54:27

Proactor 如何结合 openssl 使用?

Proactor 如何结合 openssl 使用?
是否应该使用 ACE_SSL_Asynch_Stream 又该怎么用呢?

手头有个东西,用的是Proactor ,现在的要求是用openssl 验证.
我看了cnvp2 里面的例子,只有一个提交验证的部分.也通编译通过.
问题是怎么加密数据传输呢?
如何替代openssl 中的 SSL_write,以及SSL_Read.

请各位高手点拨一二.:handshake

纸飞机 发表于 2008-10-23 18:39:22

哪怕是ace 体系下, 使用openssl 的例子也好啊.卷二的例子太简单,没有具体读写数据的部分.

拜托.

winston 发表于 2008-10-24 00:20:08

没用过。需要自己研究了。。。

纸飞机 发表于 2008-10-25 04:34:17

感谢winston, 去年你也给洒家解决过一个问题.
先琢磨着吧

纸飞机 发表于 2008-11-24 22:43:48

proactor 下,使用ACE_SSL_Asynch_Stream,无需调用openssl 内部函数.

jonathanliu2004 发表于 2008-11-29 18:40:54

你好:
1 如果你知道,能否对在ace的reactor模式和preactor模式下如何使用ssl给于指点?
2 如果你也在探索,能否一起来讨论一下。

我的 msn:jonathanliu2004@hotmail.com

纸飞机 发表于 2008-12-1 17:00:35

回复 #6 jonathanliu2004 的帖子

ace的reactor模式和preactor 下使用ssl 并不难,
proactor 下就ACE_SSL_Asynch_Stream 好了
reactor 也有ACE_SSL_Stream 可用.

只是并不建议在ACE体系下用ssl,因为ssl 本身并未优化的很好,需要占用很多时间片.
ace烦人的编译也着实令人烦恼.

jonathanliu2004 发表于 2008-12-2 19:40:34

回复 #7 纸飞机 的帖子

在proactor下如何使用ACE_SSL_Asynch_Stream ,有简单的例子吗?

纸飞机 发表于 2008-12-9 15:40:46

跟ACE_Asynch_Stream一样的用法
页: [1]
查看完整版本: Proactor 如何结合 openssl 使用?