简体   繁体   English

SSLStream.BeginRead和IOCP

[英]SSLStream.BeginRead and IOCP

Just like socket Begin\\End methods use IOCP, would that also be true for SSLStream Begin\\End Read\\Write methods 就像套接字Begin \\ End方法使用IOCP一样,对于SSLStream Begin \\ End Read \\ Write方法也是如此

if not how do you get a tcp\\ip server on SSL to scale thanks 如果没有,如何在SSL上获得tcp \\ ip服务器以进行扩展,谢谢

Since the SslStream presumably is wrapped around a regular SocketStream I would say this is highly likely, because at some point the async SslStream is going to have to perform a read on the underlying stream. 由于SslStream大概是包裹在常规SocketStream周围的, SocketStream我说这很有可能,因为在某个时候,异步SslStream将必须对基础流执行读取。 It is only logical that it would implement this in terms of an async read on the underlying stream. 逻辑上是根据对底层流的异步读取来实现这一点是合乎逻辑的。

Having said that I cannot give you a 100% certain answer, but unless you are prepared to go with an SSL library or 'implement your own', even if it didn't, would that deter you from using the SslStream ? 话虽这么说,我不能给您100%的肯定答案,但是除非您准备使用SSL库或“实现自己的”,否则即使您不准备使用它,也会阻止您使用SslStream吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM