简体   繁体   中英

SSLStream.BeginRead and IOCP

Just like socket Begin\\End methods use IOCP, would that also be true for SSLStream Begin\\End Read\\Write methods

if not how do you get a tcp\\ip server on SSL to scale thanks

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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