View Full Version : C# .NET: SSL with SocketAsyncEventArgs?

10-07-2010, 12:16 PM

I'm developing a socket server using C# .NET. I'm using the async model provided by the SocketAsyncEventArgs class, because it must be a high performance server to support many connections in short periods of time. Next, I want to secure the communication between clients and server, and I think I could use SSL.

Is there any way of using SSL with the SocketAsyncEventArgs model? I know .NET has the SslStream class for SSL securing, but I need to use SocketAsyncEventArgs for high performance.

Is it possible to use SSL in an upper level, without implementing it in the server code?

Thanks in advance.

10-20-2010, 11:30 AM
I am developing the open source socket server too.
And I have implement TLS via SSPI for Windows, so you could take my implementation.